Patch momentary button as toggle switch


#1

hi forum,

could someone help me out with a bit of knowledge of how to turn a momentary switch into a toggle switch using the objects available?
im a total newb on this and have much to learn :smile:

i have wired six momentary buttons (PB6/7/8/9; PC4/5) as well as twelve potentiometers (PC0/1/2/3; PA0/1/2/3/4/5/6/7).
goal is to use the guitar multifx and control it via the mounted hardware controls.

i want to use for example one button to switch filter modes; one button to switch on/off distortion; one for the reverb and all that. then build (if it is possible) the patch as true stereo. the potentiometers will control the same parameters all the time.

thank you for helping me out in advance.

best,
daniel


#2

logic/toggle


#3

hey technobear,
thank you for being so fast! great!
how can i go about switching the multimode filter through its modes - so that i can cycle through hp/bp/lp using one momentary button?
your answer helped me - the toggle works perfect :smile:

daniel


#4

logic/counter + demux object should do the trick if you want to switch between different filters.


#5

hello jan,
is it possible to do the switching vice versa?
so that i can switch the outputs of the filter/multimode svf m module
to one output?
i suppose im using the mux 3 object then?


#6

its done :smile:

another question - if you look at the patch like it is at the moment, i use the inputs and route them to the midi/intern object to get access to the midi mapping for the controls. but then, the object seems to output 7bit values - there is quite a lot of skipping when adjusting the filter...
but some parameters are only accessible through midi - right?


#7

no, you can use mod_source and then modulation on a parameter... this is 32 bit, so you won't get stepping.
(assuming the filter there is not a filter variant with the 'parameter' as an inlet)


#8

Indeed possible. I mostly use a combination of demux and mux to route audio through different types of effects.