OnMidi troubles

Discuss Lemur and share techniques.
Post Reply
mbncp
Regular
Posts: 87
Joined: 08 Dec 2011 07:25

OnMidi troubles

Post 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
nick_liine
Liine Staff
Posts: 285
Joined: 01 Oct 2010 11:06

Re: OnMidi troubles

Post 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
Attachments
OnMIDI_Example.zip
(1.91 KiB) Downloaded 163 times
mbncp
Regular
Posts: 87
Joined: 08 Dec 2011 07:25

Re: OnMidi troubles

Post 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-)
Post Reply