//--Public Methods public MidiSequencer(StreamSynthesizer synth) { currentPrograms = new int[16]; //16 channels this.synth = synth; this.synth.setSequencer(this); blockList = new List <byte>(); seqEvt = new MidiSequencerEvent(); }
public void Dispose() { Stop(true); //Set anything that may become a circular reference to null... synth = null; _MidiFile = null; seqEvt = null; }