public SysExMessageEventArgs(SysExMessage message)
 {
     this.message = message;
 }
Example #2
0
        private void Write(SysExMessage message)
        {
            // System exclusive message cancel running status.
            runningStatus = 0;

            trackData.Add((byte)message.Status);

            WriteVariableLengthValue(message.Length - 1);

            for(int i = 1; i < message.Length; i++)
            {
                trackData.Add(message[i]);
            }
        }