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