public void Send(MidiChannel mc) { if (_program > 127) return; byte program = _program; // TODO: _native_mt32 // if (_native_mt32 != _mt32) // program = _native_mt32 ? MidiDriver::_gmToMt32[program] : MidiDriver::_mt32ToGm[program]; if (program < 128) mc.ProgramChange(program); }
public void Send(MidiChannel mc) { mc.SysExCustomInstrument(AdlibMidiDriver.ToType("ADL "), _instrument); }
public void Send(MidiChannel mc) { if (_instrument != null) _instrument.Send(mc); }