Pass A if > 0, B otherwise

Hi,

is theres any module that take 2 inputs (A and B), and pass A if A > 0, otherwise B.

Thanks

Yes:

Or any of the larger AO- modules. Call it X and Y instead of A and B, and it’s there in the right-click menu.

1 Like

I bet one of the Venom Wincomp ones can do it too.

Actually it is the Venom Bernoulli Switch that can do this very easily.

Set Prob to 100%
Set Mode to Gate
Set Rise to 0
Keep all other parameters at default
Patch A to Trig input
B to Right input
Take the Right output

3 Likes

Given how you phrased this question, it’d be weird for me not to mention doing this in BASICally:

Either of these would work; the left one is a shorthand for the right one.

mahlen

5 Likes