General
Radio Switch - set active switch with incoming midi note
Started by stk on .
Sign in or create an account to join the conversation.
Hi,
I have a switch with 10 segments, set to radio mode.
I would like to switch the active segment with an incoming MIDI note (eg note 0 actives segment 0, 1 activates 1 and so on).
I have the switch set up like this:
[img]http://i.imgur.com/2aAYgQR.png[/img]
The switch is receiving midi, but instead of changing its state, it just activates each segment without deactivating the previous one (basically acting as if it was not in radio mode). Am I missing something here, or will this require a custom script?
Thanks,
Skye
I have a switch with 10 segments, set to radio mode.
I would like to switch the active segment with an incoming MIDI note (eg note 0 actives segment 0, 1 activates 1 and so on).
I have the switch set up like this:
[img]http://i.imgur.com/2aAYgQR.png[/img]
The switch is receiving midi, but instead of changing its state, it just activates each segment without deactivating the previous one (basically acting as if it was not in radio mode). Am I missing something here, or will this require a custom script?
Thanks,
Skye
Also, I've tried using separate pad buttons to achieve this, and they also do not deactivate when the incoming midi note ends.
Yup! There is this thing with various aspects of lemur like "physics" mode or the 'radio" mode of switches which do not "persist" over incoming midi messages. For example if you have a multiball with physics enabled and it receives a feedback midi message the physics are then ignored.
So...one way, would be to actually also send midi note-off messages from the controlled application....OR.....script the functionality instead of relying on 'radio" mode alone.
So...one way, would be to actually also send midi note-off messages from the controlled application....OR.....script the functionality instead of relying on 'radio" mode alone.
I cannot test this example right now, but it should work as you desire and with the note values specified in your image above.
What the "on midi" script does essentially is turning "off" any switch that is NOT the incoming midi note message with any velocity greater than zero.
scripted-radio-input.jzml
What the "on midi" script does essentially is turning "off" any switch that is NOT the incoming midi note message with any velocity greater than zero.
scripted-radio-input.jzml
Oh great, thanks for that Softcore, and thanks for the heads up on local vs remote control of lemur controls. I will give this a try when I'm home tonight.
Cheers!
Cheers!
Mate, works perfectly and was exactly what I was after. Thanks!
Great! Thanks for feedback!