on MIDI_ARGS question

Discuss Lemur and share techniques.
Post Reply
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

on MIDI_ARGS question

Post 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?
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: on MIDI_ARGS question

Post by Macciza »

Yep
That sounds about right - but remember the MIDI Channel is 0 to 15 . . .

Cheers
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: on MIDI_ARGS question

Post by Softcore »

Note taken! Thanks!
Post Reply