Page 1 of 1

OnMidi troubles

Posted: 08 Dec 2011 12:13
by mbncp
Is this suppose to work ?

I tried it on a script in a control and also at the project level but no luck so far.
If I bind a control to incoming midi it's fine, but it seems that my OnMidi's never get called.

Any idea ?
Thanks

Re: OnMidi troubles

Posted: 08 Dec 2011 13:52
by nick_liine
Hi mbcnp.

Inside a script which is triggered by On MIDI you can access the received by data with the MIDI_ARGS array. For example:

Monitor.value = MIDI_ARGS;

I've created an example where sending data on Channel 1 / CC0 will change the colour of the Fader from black to red.

Hope this helps,
Nick

Re: OnMidi troubles

Posted: 08 Dec 2011 16:02
by mbncp
Thanks,

I had the midi port set to parent(MIDI 0), but setting it to MIDI 0 as in your example works.

A bit weird but hey, what a great app 8-)