示例#1
0
        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);
        }
示例#2
0
 public void Send(MidiChannel mc)
 {
     mc.SysExCustomInstrument(AdlibMidiDriver.ToType("ADL "), _instrument);
 }
示例#3
0
 public void Send(MidiChannel mc)
 {
     if (_instrument != null)
         _instrument.Send(mc);
 }