|
bool | MidiInterface< Transport, _Settings, _Platform >::read () |
| Read messages from the serial port using the main input channel.
|
|
bool | MidiInterface< Transport, _Settings, _Platform >::read (Channel inChannel) |
| Read messages on a specified channel.
|
|
MidiType | MidiInterface< Transport, _Settings, _Platform >::getType () const |
| Get the last received message's type.
|
|
Channel | MidiInterface< Transport, _Settings, _Platform >::getChannel () const |
| Get the channel of the message stored in the structure.
|
|
DataByte | MidiInterface< Transport, _Settings, _Platform >::getData1 () const |
| Get the first data byte of the last received message.
|
|
DataByte | MidiInterface< Transport, _Settings, _Platform >::getData2 () const |
| Get the second data byte of the last received message.
|
|
const byte * | MidiInterface< Transport, _Settings, _Platform >::getSysExArray () const |
| Get the System Exclusive byte array.
|
|
unsigned | MidiInterface< Transport, _Settings, _Platform >::getSysExArrayLength () const |
| Get the length of the System Exclusive array.
|
|
bool | MidiInterface< Transport, _Settings, _Platform >::check () const |
| Check if a valid message is stored in the structure.
|
|
Channel | MidiInterface< Transport, _Settings, _Platform >::getInputChannel () const |
|
void | MidiInterface< Transport, _Settings, _Platform >::setInputChannel (Channel inChannel) |
| Set the value for the input MIDI channel.
|
|
static MidiType | MidiInterface< Transport, _Settings, _Platform >::getTypeFromStatusByte (byte inStatus) |
| Extract an enumerated MIDI type from a status byte.
|
|
static Channel | MidiInterface< Transport, _Settings, _Platform >::getChannelFromStatusByte (byte inStatus) |
| Returns channel in the range 1-16.
|
|
static bool | MidiInterface< Transport, _Settings, _Platform >::isChannelMessage (MidiType inType) |
|
void | MidiInterface< Transport, _Settings, _Platform >::disconnectCallbackFromType (MidiType inType) |
| Detach an external function from the given type.
|
|
template<class Transport , class Settings , class Platform >
Detach an external function from the given type.
Use this method to cancel the effects of setHandle********.
- Parameters
-
inType | The type of message to unbind. When a message of this type is received, no function will be called. |
Definition at line 1262 of file MIDI.hpp.
template<class Transport , class Settings , class Platform >
unsigned MidiInterface< Transport, Settings, Platform >::getSysExArrayLength |
( |
| ) |
const |
|
inline |
Get the length of the System Exclusive array.
It is coded using data1 as LSB and data2 as MSB.
- Returns
- The array's length, in bytes.
Definition at line 1180 of file MIDI.hpp.
template<class Transport , class Settings , class Platform >
Extract an enumerated MIDI type from a status byte.
This is a utility static method, used internally, made public so you can handle MidiTypes more easily.
Definition at line 1218 of file MIDI.hpp.