midimsg Struct Reference
#include <MIDI.h>
List of all members.
Detailed Description
This structure contains decoded data of a MIDI message read from the serial port with read() or thru().
Definition at line 53 of file MIDI.h.
Member Data Documentation
The MIDI channel on which the message was recieved.
Value goes from 1 to 16.
Definition at line 55 of file MIDI.h.
The first data byte.
Value goes from 0 to 127.
If the message is SysEx, this byte contains the array length.
Definition at line 59 of file MIDI.h.
The second data byte. If the message is only 2 bytes long, this one is null.
Value goes from 0 to 127.
Definition at line 61 of file MIDI.h.
This boolean indicates if the message is valid or not. There is no channel consideration here, validity means the message respects the MIDI norm.
Definition at line 65 of file MIDI.h.
System Exclusive dedicated byte array.
Array length is stocked in data1.
Definition at line 63 of file MIDI.h.
The type of the message (see the define section for types reference)
Definition at line 57 of file MIDI.h.
The documentation for this struct was generated from the following file:
- /Users/franky/DIY/Arduino/Arduino.app/Contents/Resources/Java/hardware/libraries/MIDI/MIDI.h