Set argument for [route]
I’m looking for a way to use a list in coll for multiple b-patchers.
I have a patch with 12 b-patchers (one original) with multisliders in them. Via arguments each multislider gets its own task.
What i want to do is to make a score in one single list for all the b-patchers/multisliders.
multislider 1 controls the gain, mslider2 the Q and mslider 3 the frequency
I thought off the next:
listindex+variable, var var var
1gain, 4 5 2;
1Q, 3 8 9;
2gain, 2 3 8;
2freq, 7 7 4;
3Q, 2 9 8;
3freq, 7 8 9;
But for this case its needed to set the argument of route, so i can set de route for each b-patcher seperatly via an argument. 1gain, 2gain, 3gain etc… but it doenst seem possible to set the argument of route.
is there another way to accomplish the same?
route #1gain #1Q #1freq
+set the first argument of your bpatcher to a unique id (in it’s
route in the bpatcher with argument 1 will be set to : route 1gain
route in the bpatcher with argument 1 will be set to : route 2gain
its a bit more complicated than that because the symbols "gain" and "Q" are also variables and arguments..
i already figured it out myself. writing one big list in a coll that gets devided into other colls, one per bpatcher.
note that route takes lists too – and strips off the first
element in list on its output.
so you could create custom lists like "filter1 300" to be
able to use [route filter1 filter2 filter3] to route int "300".
if you want a dynamic route object, make an abstraction yourself.
[gate] is your friend here