NiCMidi 1.1.0
A MIDI library derived from J.D.Koftinoff jdksmidi
|
Used by the MIDIInDriver to keep track of incoming messages. More...
#include <driver.h>
Public Member Functions | |
MIDIRawMessage (const MIDIMessage &m, tMsecs t, int p) | |
The constructor. More... | |
Public Attributes | |
MIDIMessage | msg |
The MIDI Message received from the port. More... | |
tMsecs | timestamp |
The absolute time in msecs. More... | |
int | port |
The id of the MIDI in port which received the message. More... | |
Used by the MIDIInDriver to keep track of incoming messages.
It holds a MIDIMessage, a timestamp in milliseconds (from the start of the timer) and the id of the MIDI in port from which the message comes. The MIDIInDriver keeps an internal queue of MIDIRawMessage arrived from its hardware MIDI in port, and you can get them by its methods.
|
inline |
The constructor.
MIDIMessage MIDIRawMessage::msg |
The MIDI Message received from the port.
tMsecs MIDIRawMessage::timestamp |
The absolute time in msecs.
int MIDIRawMessage::port |
The id of the MIDI in port which received the message.