示例#1
0
 public void Detach()
 {
     Stop();
     engine = null;
     midi.Close();
     midi = null;
 }
示例#2
0
 public void Attach(IAsyncEngine aEngine)
 {
     engine = aEngine;
     coreSize = engine.Project.Rules.CoreSize;
     midi=new MidiOut();
     midi.Open(0);
     midi.Instrument(73);
 }