The Signal State

The Signal State

View Stats:
I don't understand VCA Gating
I've gone through all the tutorials, and I'm able to understand almost all the other modules and connections, but I can't seem to wrap my head around VCA Gating. Can anyone explain it a little better, or point me to somewhere I can find the info? TIA
< >
Showing 1-7 of 7 comments
Feb 19, 2022 @ 3:06pm 
So the VCA takes in an input signal and a CV input, and CV is treated as a percentage so the output= input x CV%.

Now if CV is only ever *either* 0 volts or 100 volts, then the VCA will only ever send 0 volts or the original signal unchanged, allowing u to 'gate' the signal, i.e send it through unchanged or send nothing.

This works great whem used with logic modules, which only ever send 0 or 100 volts, so u can use a logic module's output as the CV value for the purposes of gating.

Hope this helps!
You could also write it as floor(a*max(0,b)/100+0.5)
i.e. multiply the values, divide by 100 and round to nearest int, and if the middle input is negative it's taken to be 0.
It can be used as a gate, but if your other input is always positive, then MIN takes up less space and does the trick.
Just to add to the previous two responses with some more specific examples.

Let's assume you have a VCA Module. The VCA Module has 2 inputs. An Input Signal, and a Control Voltage (CV) input.

The Output signal, is a percentage of the Input Signal, as specified by the Control Voltage.

So, first for a non-gate example:
If our Input Signal is 100, and our Control Voltage input is 60, the output will be 60:
Output = Input * CV% = 100 * 60% = 100 * 0.6 = 60.

A second (Non-logic) example:
If our Input Signal is 50, and our Control Voltage input is 20, the output will be 10:
Output = 50 * 20% = 50 * 0.2 = 10.


Now for VCA Gating:
Since the output is a percentage of the input, as specified by the Control Voltage.
If our Control Voltage only has 2 possible states: 0%, or 100%, then the only two possible outputs are: 0, or 'Input Signal', respectively.

To show this with an example:
If our Input Signal is 23. and our Control Voltage is 100, the output will be 23:
Output = 23 * 100% = 23 * 1.0 = 23.

A second example:
If our input signal is 23 (once again), but this time our output is 0, the output is 0:
Output = 23 * 0% = 23 * 0 = 0.


This is effectively the 'gating', because the only two possible outputs from the VCA are either the original Input Signal, or 0.

Hope this helps, and feel free to ask if something wasn't quite clear!
Gating is part of logic, but if you need to fulfill an if statement because there are two possible outputs to the output then what? usually you have to have a >o< in the if statement or some other = logic. The Hints say a use a VCA then tells you go to Discord.
If the output is Input*CV/100 aren't Input and CV interchangeable?
It's pretty simple:

The VCA Gate like the Attenuator, but instead of you turning the dial, it takes the value you it gets from the CV input.
Except, that CV input is restricted from 0-100, so it treats negative values as 0. E.g. if CV is -50% (or rather -50V), then the output is 0V.
I think OP was asking how do you use VCA as a "logic gate"...

I have a EE degree and I've done digital gates, boolean logic, and MHRD (the game). But it took me a couple minutes to figure out how to use VCA as a logic gates. :)
< >
Showing 1-7 of 7 comments
Per page: 1530 50