General

on MIDI_ARGS question

Started by Softcore on .

Sign in or create an account to join the conversation.

3 posts

Topic starter
Probably this is not Lemur specific and I would have to study the MIDI official specs but hopefully someone has already done the research and will help me save time!

So, when we use a script on MIDI_ARGS, the idnividual arrays returned by the MIDI_ARGS vector have to do with what kind of Midi message we receive.

I would like confirmation for the case of Midi CC messages and Midi Note message and what kind of MIDI_ARGS vectors they provide.

1. In the case of CC messages

MIDI_ARGS[0] is the CC number
MIDI_ARGS[1] is the value
MIDI_ARGS[2] is the Midi channel

correct?

2. In the case of Note messages

MIDI_ARGS[0] is the Note number
MIDI_ARGS[1] is the velocity
MIDI_ARGS[2] is the Midi channel

correct?