Page 1 of 1
Posted: 30 Jan 2009, 04:28
by gurulogic
Total noob question but I can't figure out how to invert the output of a switch. I am trying to make a switch that sets a volume module to 0 dB when enabled. (opposite of mute)
Posted: 30 Jan 2009, 09:46
by 23fx23
did you try the math/logical (Not)A module? if your switch is off it will then send 1, and if it's on 0.
Posted: 30 Jan 2009, 10:12
by antwan
Also, if you want it to send 0db when enabled and -80dB (instead of 1) when disabled try this:
Switch.out > Not > * (with -80 set in B port) > Volume
antwan
Posted: 30 Jan 2009, 10:29
by martignasse
And to complete the way you can manage a value with a switch or a slider,
you can use the affine function A*in+B module to 'map' the 0 to 1 range to whatever you need (ex : -80->12).
not necessary for what you ask, but very useful for lot of things.
Posted: 30 Jan 2009, 13:02
by gurulogic
23fx23 wrote:did you try the math/logical (Not)A module? if your switch is off it will then send 1, and if it's on 0.
That's the one,thanks.!
I also figured out that instead of inverting the switch I could also edit the colors so that off is illuminated and on is not...
Posted: 30 Jan 2009, 14:08
by 23fx23
yup invert color is a nice and simple solution.