audio bypass switch-using a toggle box as a start

m1ndbullet's icon

hey i wonder if you guys could help me out.

i've created a patch that fires off loops and goes into the biquad object- using the toggle as a means of input control is it possible to bipass the biquad object and go straight to the output and when pressed in go through the biquad.

ive tried the gate and switch objects but with no success.

(theres more info within the patch.- the big square represents the thumbstick control but isn't relevant to this area of the patch.)

3220.onoffbipass.maxpat
Max Patch
Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.
m1ndbullet's icon

hey thanks for your help the reason i included the togedge was because the button is controlled by a one and zero, ie i would click it once and the 1 would need to be held in until its clicked again where it would output a 0. but thats the kind of thing i was thinking of :)

Chris Muir's icon

I tend to isolate peculiarities of a controller from the logic of the patch. Let the patch show the desired logic, and patch around the controller idiosyncrasies elsewhere.