Beispiel #1
0
        // Overriden functions
        public override void RecvMidiMsg(Int64 rt, UInt32 dwChannel, UInt32 dwBytesRead,
                                         Byte[] lpBuffer)
        {
            // Receive sysex message
            MidiSysexMessage msg = new MidiSysexMessage(lpBuffer, dwChannel, rt);

            // Fire event if required
            if (null != ReceivedMidiSysexMessage)
            {
                ReceivedMidiSysexMessage(this, new MidiSysexMessageEventArgs(msg));
            }
        }
Beispiel #2
0
 public MidiSysexMessageEventArgs(MidiSysexMessage msg)
 {
     MidiSysexMessage = msg;
 }