Patcher Switcher

DaBigBoy01's icon

I have a group of controls inside of a bpatcher. Is it possible to duplicate several of these and create a switcher?

For instance, I'd like a GUI with 4 envelopes but a button that can select "ADSR 1, ADSR 2," etc.

Source Audio's icon

what means select ?

bring to front, allow editing and send values ?

or only recall values ?

bpatcher has offset control ...

if that helps

DaBigBoy01's icon

What I'd like to do is create a group of ADSR envelopes and create some sort of a umenu/button that will activate an envelope. I could do the same thing for oscillators, etc.

Source Audio's icon

Again, what means to activate ?

in what form are that envelopes ?

Lists with values ?

no matter in what form something is, you would either use something like

live.tab, umenu etc to "activate" something.

In case it is 4 different lists for adsr~ you will simply recall them.

In case of 4 live.adrs~ objects, you can either switch 10 outputs,

or output of connected adsr~ object, as well as input.

or in case of 4 oscillators, choose which one to use...

using for example selector~, matrix~ etc

Wil's icon
Is it possible to duplicate several of these and create a switcher?

Yes it is possible.

[thispatcher]


Wil's icon

put this inside your bpatcher(s)

make inlets and outlets for the bang and unpack

easily get size and coordinates for bpatcher to use in scripting

you can have 1000 bpatchers with same coordinates

connect to [thispatcher] to hide and show


Wil's icon

will send example tomorrow

Wil's icon

here is way to switch between differsnt bpatchers

only show 1 at a time

saves screen space

different ways to route

this uses matrix~ so you can only use with 1 instrument -

you can take out the matrix and connect to 4 different instruments

3_bs.zip
zip



DaBigBoy01's icon

Thanks very much! So Matrix and selector objects are what I need.