Пример #1
0
 //--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();
 }
Пример #2
0
 //--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();
 }
Пример #3
0
 public void Dispose()
 {
     Stop(true);
     //Set anything that may become a circular reference to null...
     synth     = null;
     _MidiFile = null;
     seqEvt    = null;
 }
Пример #4
0
 public void Dispose()
 {
     Stop(true);
     //Set anything that may become a circular reference to null...
     synth = null;
     _MidiFile = null;
     seqEvt = null;
 }