Switch turn off other switch

Discuss problems and solutions.
Post Reply
Zzrolf
Newbie
Posts: 7
Joined: 26 Aug 2013 05:25

Switch turn off other switch

Post 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
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Switch turn off other switch

Post 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
Zzrolf
Newbie
Posts: 7
Joined: 26 Aug 2013 05:25

Re: Switch turn off other switch

Post 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
Attachments
onoff-buttons.jzml
(5.51 KiB) Downloaded 63 times
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Switch turn off other switch

Post 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
Attachments
program-change buttons.jzml
(5.53 KiB) Downloaded 71 times
Zzrolf
Newbie
Posts: 7
Joined: 26 Aug 2013 05:25

Re: Switch turn off other switch

Post by Zzrolf »

It still not work, I think that it clash with my script .
I have up arrow in that to.
Zzrolf
Zzrolf
Newbie
Posts: 7
Joined: 26 Aug 2013 05:25

Re: Switch turn off other switch

Post by Zzrolf »

Very strange it works when I send to Mainstage , but not to my external midi device (Pod HD500).
Zzrolf
Post Reply