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
OnMidi troubles
-
- Liine Staff
- Posts: 285
- Joined: 01 Oct 2010 11:06
Re: OnMidi troubles
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
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
Re: OnMidi troubles
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
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