public MidiSequencer(StreamSynthesizer synth) { currentPrograms = new int[16]; //16 channels this.synth = synth; this.synth.setSequencer(this); blockList = new List<byte>(); seqEvt = new MidiSequencerEvent(); }