|
LMMS
|
Functions | |
| static bool | lv2_midi_is_voice_message (const uint8_t *msg) |
| static bool | lv2_midi_is_system_message (const uint8_t *msg) |
| static LV2_Midi_Message_Type | lv2_midi_message_type (const uint8_t *msg) |
Definitions of standard MIDI messages, see http://lv2plug.in/ns/ext/midi for details.
Definitions of standard MIDI messages.
See http://lv2plug.in/ns/ext/midi for details.
| #define LV2_MIDI__ActiveSense LV2_MIDI_PREFIX "ActiveSense" |
| #define LV2_MIDI__ActiveSense LV2_MIDI_PREFIX "ActiveSense" |
| #define LV2_MIDI__Aftertouch LV2_MIDI_PREFIX "Aftertouch" |
| #define LV2_MIDI__Aftertouch LV2_MIDI_PREFIX "Aftertouch" |
| #define LV2_MIDI__Bender LV2_MIDI_PREFIX "Bender" |
| #define LV2_MIDI__Bender LV2_MIDI_PREFIX "Bender" |
| #define LV2_MIDI__benderValue LV2_MIDI_PREFIX "benderValue" |
| #define LV2_MIDI__benderValue LV2_MIDI_PREFIX "benderValue" |
| #define LV2_MIDI__binding LV2_MIDI_PREFIX "binding" |
| #define LV2_MIDI__binding LV2_MIDI_PREFIX "binding" |
| #define LV2_MIDI__byteNumber LV2_MIDI_PREFIX "byteNumber" |
| #define LV2_MIDI__byteNumber LV2_MIDI_PREFIX "byteNumber" |
| #define LV2_MIDI__channel LV2_MIDI_PREFIX "channel" |
| #define LV2_MIDI__channel LV2_MIDI_PREFIX "channel" |
| #define LV2_MIDI__ChannelPressure LV2_MIDI_PREFIX "ChannelPressure" |
| #define LV2_MIDI__ChannelPressure LV2_MIDI_PREFIX "ChannelPressure" |
| #define LV2_MIDI__Chunk LV2_MIDI_PREFIX "Chunk" |
| #define LV2_MIDI__Chunk LV2_MIDI_PREFIX "Chunk" |
| #define LV2_MIDI__chunk LV2_MIDI_PREFIX "chunk" |
| #define LV2_MIDI__chunk LV2_MIDI_PREFIX "chunk" |
| #define LV2_MIDI__Clock LV2_MIDI_PREFIX "Clock" |
| #define LV2_MIDI__Clock LV2_MIDI_PREFIX "Clock" |
| #define LV2_MIDI__Continue LV2_MIDI_PREFIX "Continue" |
| #define LV2_MIDI__Continue LV2_MIDI_PREFIX "Continue" |
| #define LV2_MIDI__Controller LV2_MIDI_PREFIX "Controller" |
| #define LV2_MIDI__Controller LV2_MIDI_PREFIX "Controller" |
| #define LV2_MIDI__controllerNumber LV2_MIDI_PREFIX "controllerNumber" |
| #define LV2_MIDI__controllerNumber LV2_MIDI_PREFIX "controllerNumber" |
| #define LV2_MIDI__controllerValue LV2_MIDI_PREFIX "controllerValue" |
| #define LV2_MIDI__controllerValue LV2_MIDI_PREFIX "controllerValue" |
| #define LV2_MIDI__MidiEvent LV2_MIDI_PREFIX "MidiEvent" |
| #define LV2_MIDI__MidiEvent LV2_MIDI_PREFIX "MidiEvent" |
| #define LV2_MIDI__noteNumber LV2_MIDI_PREFIX "noteNumber" |
| #define LV2_MIDI__noteNumber LV2_MIDI_PREFIX "noteNumber" |
| #define LV2_MIDI__NoteOff LV2_MIDI_PREFIX "NoteOff" |
| #define LV2_MIDI__NoteOff LV2_MIDI_PREFIX "NoteOff" |
| #define LV2_MIDI__NoteOn LV2_MIDI_PREFIX "NoteOn" |
| #define LV2_MIDI__NoteOn LV2_MIDI_PREFIX "NoteOn" |
| #define LV2_MIDI__pressure LV2_MIDI_PREFIX "pressure" |
| #define LV2_MIDI__pressure LV2_MIDI_PREFIX "pressure" |
| #define LV2_MIDI__ProgramChange LV2_MIDI_PREFIX "ProgramChange" |
| #define LV2_MIDI__ProgramChange LV2_MIDI_PREFIX "ProgramChange" |
| #define LV2_MIDI__programNumber LV2_MIDI_PREFIX "programNumber" |
| #define LV2_MIDI__programNumber LV2_MIDI_PREFIX "programNumber" |
| #define LV2_MIDI__property LV2_MIDI_PREFIX "property" |
| #define LV2_MIDI__property LV2_MIDI_PREFIX "property" |
| #define LV2_MIDI__QuarterFrame LV2_MIDI_PREFIX "QuarterFrame" |
| #define LV2_MIDI__QuarterFrame LV2_MIDI_PREFIX "QuarterFrame" |
| #define LV2_MIDI__Reset LV2_MIDI_PREFIX "Reset" |
| #define LV2_MIDI__Reset LV2_MIDI_PREFIX "Reset" |
| #define LV2_MIDI__songNumber LV2_MIDI_PREFIX "songNumber" |
| #define LV2_MIDI__songNumber LV2_MIDI_PREFIX "songNumber" |
| #define LV2_MIDI__SongPosition LV2_MIDI_PREFIX "SongPosition" |
| #define LV2_MIDI__SongPosition LV2_MIDI_PREFIX "SongPosition" |
| #define LV2_MIDI__songPosition LV2_MIDI_PREFIX "songPosition" |
| #define LV2_MIDI__songPosition LV2_MIDI_PREFIX "songPosition" |
| #define LV2_MIDI__SongSelect LV2_MIDI_PREFIX "SongSelect" |
| #define LV2_MIDI__SongSelect LV2_MIDI_PREFIX "SongSelect" |
| #define LV2_MIDI__Start LV2_MIDI_PREFIX "Start" |
| #define LV2_MIDI__Start LV2_MIDI_PREFIX "Start" |
| #define LV2_MIDI__status LV2_MIDI_PREFIX "status" |
| #define LV2_MIDI__status LV2_MIDI_PREFIX "status" |
| #define LV2_MIDI__statusMask LV2_MIDI_PREFIX "statusMask" |
| #define LV2_MIDI__statusMask LV2_MIDI_PREFIX "statusMask" |
| #define LV2_MIDI__Stop LV2_MIDI_PREFIX "Stop" |
| #define LV2_MIDI__Stop LV2_MIDI_PREFIX "Stop" |
| #define LV2_MIDI__SystemCommon LV2_MIDI_PREFIX "SystemCommon" |
| #define LV2_MIDI__SystemCommon LV2_MIDI_PREFIX "SystemCommon" |
| #define LV2_MIDI__SystemExclusive LV2_MIDI_PREFIX "SystemExclusive" |
| #define LV2_MIDI__SystemExclusive LV2_MIDI_PREFIX "SystemExclusive" |
| #define LV2_MIDI__SystemMessage LV2_MIDI_PREFIX "SystemMessage" |
| #define LV2_MIDI__SystemMessage LV2_MIDI_PREFIX "SystemMessage" |
| #define LV2_MIDI__SystemRealtime LV2_MIDI_PREFIX "SystemRealtime" |
| #define LV2_MIDI__SystemRealtime LV2_MIDI_PREFIX "SystemRealtime" |
| #define LV2_MIDI__Tick LV2_MIDI_PREFIX "Tick" |
| #define LV2_MIDI__Tick LV2_MIDI_PREFIX "Tick" |
| #define LV2_MIDI__TuneRequest LV2_MIDI_PREFIX "TuneRequest" |
| #define LV2_MIDI__TuneRequest LV2_MIDI_PREFIX "TuneRequest" |
| #define LV2_MIDI__velocity LV2_MIDI_PREFIX "velocity" |
| #define LV2_MIDI__velocity LV2_MIDI_PREFIX "velocity" |
| #define LV2_MIDI__VoiceMessage LV2_MIDI_PREFIX "VoiceMessage" |
| #define LV2_MIDI__VoiceMessage LV2_MIDI_PREFIX "VoiceMessage" |
| #define LV2_MIDI_PREFIX LV2_MIDI_URI "#" |
| #define LV2_MIDI_PREFIX LV2_MIDI_URI "#" |
| #define LV2_MIDI_URI "http://lv2plug.in/ns/ext/midi" |
| #define LV2_MIDI_URI "http://lv2plug.in/ns/ext/midi" |
| enum LV2_Midi_Controller |
Standard MIDI Controller Numbers.
| Enumerator | |
|---|---|
| LV2_MIDI_CTL_MSB_BANK | Bank Selection |
| LV2_MIDI_CTL_MSB_MODWHEEL | Modulation |
| LV2_MIDI_CTL_MSB_BREATH | Breath |
| LV2_MIDI_CTL_MSB_FOOT | Foot |
| LV2_MIDI_CTL_MSB_PORTAMENTO_TIME | Portamento Time |
| LV2_MIDI_CTL_MSB_DATA_ENTRY | Data Entry |
| LV2_MIDI_CTL_MSB_MAIN_VOLUME | Main Volume |
| LV2_MIDI_CTL_MSB_BALANCE | Balance |
| LV2_MIDI_CTL_MSB_PAN | Panpot |
| LV2_MIDI_CTL_MSB_EXPRESSION | Expression |
| LV2_MIDI_CTL_MSB_EFFECT1 | Effect1 |
| LV2_MIDI_CTL_MSB_EFFECT2 | Effect2 |
| LV2_MIDI_CTL_MSB_GENERAL_PURPOSE1 | General Purpose 1 |
| LV2_MIDI_CTL_MSB_GENERAL_PURPOSE2 | General Purpose 2 |
| LV2_MIDI_CTL_MSB_GENERAL_PURPOSE3 | General Purpose 3 |
| LV2_MIDI_CTL_MSB_GENERAL_PURPOSE4 | General Purpose 4 |
| LV2_MIDI_CTL_LSB_BANK | Bank Selection |
| LV2_MIDI_CTL_LSB_MODWHEEL | Modulation |
| LV2_MIDI_CTL_LSB_BREATH | Breath |
| LV2_MIDI_CTL_LSB_FOOT | Foot |
| LV2_MIDI_CTL_LSB_PORTAMENTO_TIME | Portamento Time |
| LV2_MIDI_CTL_LSB_DATA_ENTRY | Data Entry |
| LV2_MIDI_CTL_LSB_MAIN_VOLUME | Main Volume |
| LV2_MIDI_CTL_LSB_BALANCE | Balance |
| LV2_MIDI_CTL_LSB_PAN | Panpot |
| LV2_MIDI_CTL_LSB_EXPRESSION | Expression |
| LV2_MIDI_CTL_LSB_EFFECT1 | Effect1 |
| LV2_MIDI_CTL_LSB_EFFECT2 | Effect2 |
| LV2_MIDI_CTL_LSB_GENERAL_PURPOSE1 | General Purpose 1 |
| LV2_MIDI_CTL_LSB_GENERAL_PURPOSE2 | General Purpose 2 |
| LV2_MIDI_CTL_LSB_GENERAL_PURPOSE3 | General Purpose 3 |
| LV2_MIDI_CTL_LSB_GENERAL_PURPOSE4 | General Purpose 4 |
| LV2_MIDI_CTL_SUSTAIN | Sustain Pedal |
| LV2_MIDI_CTL_PORTAMENTO | Portamento |
| LV2_MIDI_CTL_SOSTENUTO | Sostenuto |
| LV2_MIDI_CTL_SOFT_PEDAL | Soft Pedal |
| LV2_MIDI_CTL_LEGATO_FOOTSWITCH | Legato Foot Switch |
| LV2_MIDI_CTL_HOLD2 | Hold2 |
| LV2_MIDI_CTL_SC1_SOUND_VARIATION | SC1 Sound Variation |
| LV2_MIDI_CTL_SC2_TIMBRE | SC2 Timbre |
| LV2_MIDI_CTL_SC3_RELEASE_TIME | SC3 Release Time |
| LV2_MIDI_CTL_SC4_ATTACK_TIME | SC4 Attack Time |
| LV2_MIDI_CTL_SC5_BRIGHTNESS | SC5 Brightness |
| LV2_MIDI_CTL_SC6 | SC6 |
| LV2_MIDI_CTL_SC7 | SC7 |
| LV2_MIDI_CTL_SC8 | SC8 |
| LV2_MIDI_CTL_SC9 | SC9 |
| LV2_MIDI_CTL_SC10 | SC10 |
| LV2_MIDI_CTL_GENERAL_PURPOSE5 | General Purpose 5 |
| LV2_MIDI_CTL_GENERAL_PURPOSE6 | General Purpose 6 |
| LV2_MIDI_CTL_GENERAL_PURPOSE7 | General Purpose 7 |
| LV2_MIDI_CTL_GENERAL_PURPOSE8 | General Purpose 8 |
| LV2_MIDI_CTL_PORTAMENTO_CONTROL | Portamento Control |
| LV2_MIDI_CTL_E1_REVERB_DEPTH | E1 Reverb Depth |
| LV2_MIDI_CTL_E2_TREMOLO_DEPTH | E2 Tremolo Depth |
| LV2_MIDI_CTL_E3_CHORUS_DEPTH | E3 Chorus Depth |
| LV2_MIDI_CTL_E4_DETUNE_DEPTH | E4 Detune Depth |
| LV2_MIDI_CTL_E5_PHASER_DEPTH | E5 Phaser Depth |
| LV2_MIDI_CTL_DATA_INCREMENT | Data Increment |
| LV2_MIDI_CTL_DATA_DECREMENT | Data Decrement |
| LV2_MIDI_CTL_NRPN_LSB | Non-registered Parameter Number |
| LV2_MIDI_CTL_NRPN_MSB | Non-registered Parameter Number |
| LV2_MIDI_CTL_RPN_LSB | Registered Parameter Number |
| LV2_MIDI_CTL_RPN_MSB | Registered Parameter Number |
| LV2_MIDI_CTL_ALL_SOUNDS_OFF | All Sounds Off |
| LV2_MIDI_CTL_RESET_CONTROLLERS | Reset Controllers |
| LV2_MIDI_CTL_LOCAL_CONTROL_SWITCH | Local Control Switch |
| LV2_MIDI_CTL_ALL_NOTES_OFF | All Notes Off |
| LV2_MIDI_CTL_OMNI_OFF | Omni Off |
| LV2_MIDI_CTL_OMNI_ON | Omni On |
| LV2_MIDI_CTL_MONO1 | Mono1 |
| LV2_MIDI_CTL_MONO2 | Mono2 |
| enum LV2_Midi_Controller |
Standard MIDI Controller Numbers.
| Enumerator | |
|---|---|
| LV2_MIDI_CTL_MSB_BANK | Bank Selection |
| LV2_MIDI_CTL_MSB_MODWHEEL | Modulation |
| LV2_MIDI_CTL_MSB_BREATH | Breath |
| LV2_MIDI_CTL_MSB_FOOT | Foot |
| LV2_MIDI_CTL_MSB_PORTAMENTO_TIME | Portamento Time |
| LV2_MIDI_CTL_MSB_DATA_ENTRY | Data Entry |
| LV2_MIDI_CTL_MSB_MAIN_VOLUME | Main Volume |
| LV2_MIDI_CTL_MSB_BALANCE | Balance |
| LV2_MIDI_CTL_MSB_PAN | Panpot |
| LV2_MIDI_CTL_MSB_EXPRESSION | Expression |
| LV2_MIDI_CTL_MSB_EFFECT1 | Effect1 |
| LV2_MIDI_CTL_MSB_EFFECT2 | Effect2 |
| LV2_MIDI_CTL_MSB_GENERAL_PURPOSE1 | General Purpose 1 |
| LV2_MIDI_CTL_MSB_GENERAL_PURPOSE2 | General Purpose 2 |
| LV2_MIDI_CTL_MSB_GENERAL_PURPOSE3 | General Purpose 3 |
| LV2_MIDI_CTL_MSB_GENERAL_PURPOSE4 | General Purpose 4 |
| LV2_MIDI_CTL_LSB_BANK | Bank Selection |
| LV2_MIDI_CTL_LSB_MODWHEEL | Modulation |
| LV2_MIDI_CTL_LSB_BREATH | Breath |
| LV2_MIDI_CTL_LSB_FOOT | Foot |
| LV2_MIDI_CTL_LSB_PORTAMENTO_TIME | Portamento Time |
| LV2_MIDI_CTL_LSB_DATA_ENTRY | Data Entry |
| LV2_MIDI_CTL_LSB_MAIN_VOLUME | Main Volume |
| LV2_MIDI_CTL_LSB_BALANCE | Balance |
| LV2_MIDI_CTL_LSB_PAN | Panpot |
| LV2_MIDI_CTL_LSB_EXPRESSION | Expression |
| LV2_MIDI_CTL_LSB_EFFECT1 | Effect1 |
| LV2_MIDI_CTL_LSB_EFFECT2 | Effect2 |
| LV2_MIDI_CTL_LSB_GENERAL_PURPOSE1 | General Purpose 1 |
| LV2_MIDI_CTL_LSB_GENERAL_PURPOSE2 | General Purpose 2 |
| LV2_MIDI_CTL_LSB_GENERAL_PURPOSE3 | General Purpose 3 |
| LV2_MIDI_CTL_LSB_GENERAL_PURPOSE4 | General Purpose 4 |
| LV2_MIDI_CTL_SUSTAIN | Sustain Pedal |
| LV2_MIDI_CTL_PORTAMENTO | Portamento |
| LV2_MIDI_CTL_SOSTENUTO | Sostenuto |
| LV2_MIDI_CTL_SOFT_PEDAL | Soft Pedal |
| LV2_MIDI_CTL_LEGATO_FOOTSWITCH | Legato Foot Switch |
| LV2_MIDI_CTL_HOLD2 | Hold2 |
| LV2_MIDI_CTL_SC1_SOUND_VARIATION | SC1 Sound Variation |
| LV2_MIDI_CTL_SC2_TIMBRE | SC2 Timbre |
| LV2_MIDI_CTL_SC3_RELEASE_TIME | SC3 Release Time |
| LV2_MIDI_CTL_SC4_ATTACK_TIME | SC4 Attack Time |
| LV2_MIDI_CTL_SC5_BRIGHTNESS | SC5 Brightness |
| LV2_MIDI_CTL_SC6 | SC6 |
| LV2_MIDI_CTL_SC7 | SC7 |
| LV2_MIDI_CTL_SC8 | SC8 |
| LV2_MIDI_CTL_SC9 | SC9 |
| LV2_MIDI_CTL_SC10 | SC10 |
| LV2_MIDI_CTL_GENERAL_PURPOSE5 | General Purpose 5 |
| LV2_MIDI_CTL_GENERAL_PURPOSE6 | General Purpose 6 |
| LV2_MIDI_CTL_GENERAL_PURPOSE7 | General Purpose 7 |
| LV2_MIDI_CTL_GENERAL_PURPOSE8 | General Purpose 8 |
| LV2_MIDI_CTL_PORTAMENTO_CONTROL | Portamento Control |
| LV2_MIDI_CTL_E1_REVERB_DEPTH | E1 Reverb Depth |
| LV2_MIDI_CTL_E2_TREMOLO_DEPTH | E2 Tremolo Depth |
| LV2_MIDI_CTL_E3_CHORUS_DEPTH | E3 Chorus Depth |
| LV2_MIDI_CTL_E4_DETUNE_DEPTH | E4 Detune Depth |
| LV2_MIDI_CTL_E5_PHASER_DEPTH | E5 Phaser Depth |
| LV2_MIDI_CTL_DATA_INCREMENT | Data Increment |
| LV2_MIDI_CTL_DATA_DECREMENT | Data Decrement |
| LV2_MIDI_CTL_NRPN_LSB | Non-registered Parameter Number |
| LV2_MIDI_CTL_NRPN_MSB | Non-registered Parameter Number |
| LV2_MIDI_CTL_RPN_LSB | Registered Parameter Number |
| LV2_MIDI_CTL_RPN_MSB | Registered Parameter Number |
| LV2_MIDI_CTL_ALL_SOUNDS_OFF | All Sounds Off |
| LV2_MIDI_CTL_RESET_CONTROLLERS | Reset Controllers |
| LV2_MIDI_CTL_LOCAL_CONTROL_SWITCH | Local Control Switch |
| LV2_MIDI_CTL_ALL_NOTES_OFF | All Notes Off |
| LV2_MIDI_CTL_OMNI_OFF | Omni Off |
| LV2_MIDI_CTL_OMNI_ON | Omni On |
| LV2_MIDI_CTL_MONO1 | Mono1 |
| LV2_MIDI_CTL_MONO2 | Mono2 |
MIDI Message Type.
This includes both voice messages (which have a channel) and system messages (which do not), as well as a sentinel value for invalid messages. To get the type of a message suitable for use in a switch statement, use lv2_midi_get_type() on the status byte.
| Enumerator | |
|---|---|
| LV2_MIDI_MSG_INVALID | Invalid Message |
| LV2_MIDI_MSG_NOTE_OFF | Note Off |
| LV2_MIDI_MSG_NOTE_ON | Note On |
| LV2_MIDI_MSG_NOTE_PRESSURE | Note Pressure |
| LV2_MIDI_MSG_CONTROLLER | |
| LV2_MIDI_MSG_PGM_CHANGE | Program Change |
| LV2_MIDI_MSG_CHANNEL_PRESSURE | Channel Pressure |
| LV2_MIDI_MSG_BENDER | Pitch Bender |
| LV2_MIDI_MSG_SYSTEM_EXCLUSIVE | System Exclusive Begin |
| LV2_MIDI_MSG_MTC_QUARTER | MTC Quarter Frame |
| LV2_MIDI_MSG_SONG_POS | Song Position |
| LV2_MIDI_MSG_SONG_SELECT | Song Select |
| LV2_MIDI_MSG_TUNE_REQUEST | Tune Request |
| LV2_MIDI_MSG_CLOCK | |
| LV2_MIDI_MSG_START | Start |
| LV2_MIDI_MSG_CONTINUE | Continue |
| LV2_MIDI_MSG_STOP | Stop |
| LV2_MIDI_MSG_ACTIVE_SENSE | Active Sensing |
| LV2_MIDI_MSG_RESET | Reset |
MIDI Message Type.
This includes both voice messages (which have a channel) and system messages (which do not), as well as a sentinel value for invalid messages. To get the type of a message suitable for use in a switch statement, use lv2_midi_get_type() on the status byte.
| Enumerator | |
|---|---|
| LV2_MIDI_MSG_INVALID | Invalid Message |
| LV2_MIDI_MSG_NOTE_OFF | Note Off |
| LV2_MIDI_MSG_NOTE_ON | Note On |
| LV2_MIDI_MSG_NOTE_PRESSURE | Note Pressure |
| LV2_MIDI_MSG_CONTROLLER | |
| LV2_MIDI_MSG_PGM_CHANGE | Program Change |
| LV2_MIDI_MSG_CHANNEL_PRESSURE | Channel Pressure |
| LV2_MIDI_MSG_BENDER | Pitch Bender |
| LV2_MIDI_MSG_SYSTEM_EXCLUSIVE | System Exclusive Begin |
| LV2_MIDI_MSG_MTC_QUARTER | MTC Quarter Frame |
| LV2_MIDI_MSG_SONG_POS | Song Position |
| LV2_MIDI_MSG_SONG_SELECT | Song Select |
| LV2_MIDI_MSG_TUNE_REQUEST | Tune Request |
| LV2_MIDI_MSG_CLOCK | |
| LV2_MIDI_MSG_START | Start |
| LV2_MIDI_MSG_CONTINUE | Continue |
| LV2_MIDI_MSG_STOP | Stop |
| LV2_MIDI_MSG_ACTIVE_SENSE | Active Sensing |
| LV2_MIDI_MSG_RESET | Reset |
Return true iff msg is a MIDI system message (which has no channel).
Return true iff msg is a MIDI voice message (which has a channel).
|
inlinestatic |
Return the type of a MIDI message.
| msg | Pointer to the start (status byte) of a MIDI message. |