Ejemplo n.º 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();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 3
0
 public void Dispose()
 {
     Stop(true);
     //Set anything that may become a circular reference to null...
     synth     = null;
     _MidiFile = null;
     seqEvt    = null;
 }
Ejemplo n.º 4
0
 public void Dispose()
 {
     Stop(true);
     //Set anything that may become a circular reference to null...
     synth = null;
     _MidiFile = null;
     seqEvt = null;
 }