Page 1 of 1

Radio Switch - set active switch with incoming midi note

Posted: 12 Apr 2014 05:36
by stk
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:
Image

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

Re: Radio Switch - set active switch with incoming midi note

Posted: 12 Apr 2014 05:42
by stk
Also, I've tried using separate pad buttons to achieve this, and they also do not deactivate when the incoming midi note ends.

Re: Radio Switch - set active switch with incoming midi note

Posted: 12 Apr 2014 07:01
by Softcore
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.

Re: Radio Switch - set active switch with incoming midi note

Posted: 12 Apr 2014 07:12
by Softcore
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.

Re: Radio Switch - set active switch with incoming midi note

Posted: 12 Apr 2014 07:50
by stk
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!

Re: Radio Switch - set active switch with incoming midi note

Posted: 13 Apr 2014 10:00
by stk
Mate, works perfectly and was exactly what I was after. Thanks!

Re: Radio Switch - set active switch with incoming midi note

Posted: 13 Apr 2014 10:02
by Softcore
Great! Thanks for feedback!