public MidiDeviceService(MidiOutput output, bool disposeDevice) { this.output = output; dispose_device = disposeDevice; }
public PortMidiPlayer(MidiOutput output, SmfMusic music) : base(music) { this.output = output; MessageReceived += delegate (SmfMessage m) { SendMidiMessage (m); }; }