Page 1 of 1

on MIDI_ARGS question

Posted: 12 Mar 2013 10:15
by Softcore
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?

Re: on MIDI_ARGS question

Posted: 12 Mar 2013 10:55
by Macciza
Yep
That sounds about right - but remember the MIDI Channel is 0 to 15 . . .

Cheers

Re: on MIDI_ARGS question

Posted: 12 Mar 2013 13:57
by Softcore
Note taken! Thanks!