Page 1 of 1

Switch turn off other switch

Posted: 19 Sep 2013 20:48
by Zzrolf
Hi. I have 4 button act like switch, sending program change.
when I push one button its on, then when I push another button it
should turn off the previous button. Is this possible?
Zzrolf

Re: Switch turn off other switch

Posted: 21 Sep 2013 12:17
by Softcore
If you use a "multiple switches" switch object tick the "radio" property in the "object-properties" window (desktop editor).

If your switches are 4 single ones, and you wish to achieve the same functionality look here:
http://forum.liine.net/viewtopic.php?f=34&t=3125

Re: Switch turn off other switch

Posted: 21 Sep 2013 13:15
by Zzrolf
Thanx for your reply.
I have manage to solve this with multiple buttons. So far so good.
Then I want them to send simple program change and that do not work.
Knob 4 work but not 1,2,3.
I have attach my jzml.
Zzrolf

Re: Switch turn off other switch

Posted: 21 Sep 2013 13:49
by Softcore
Yes, program change is a bit tricky....here are some keypoints:

Your thought to change the scale was correct - BUT a scale f 5 to 5 for example doesnt have any value change so it wont work. Instead you scale it like so:

scale 0 to "desired program change".

Then however, each time the button is truned off, it sends a 0 program change message - so you set it to only trigger output when x rises from zero (notice the up arrow setting in the mapppings of example below)

Here is the example

Re: Switch turn off other switch

Posted: 21 Sep 2013 19:18
by Zzrolf
It still not work, I think that it clash with my script .
I have up arrow in that to.
Zzrolf

Re: Switch turn off other switch

Posted: 21 Sep 2013 20:18
by Zzrolf
Very strange it works when I send to Mainstage , but not to my external midi device (Pod HD500).
Zzrolf