General
OnMidi troubles
Started by mbncp on .
Sign in or create an account to join the conversation.
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
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
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
OnMIDI_Example.zip
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
OnMIDI_Example.zip
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