Duplicating channel strips

peninsula's icon

Hi,

Maybe i am lazy or i just want to avoid copying the same pieces of code. See the attached piece of code down here, it is part of a channel strip i created. This little patcher sends and receives the fader position of track 0 in Live. Now i have been playing around to create a way so i can use this piece of code for 10 tracks. I tried changing the 'tracks 0' into e.g. 'tracks $1' but i couldn't it to work properly. Anyone here who can point me in the right direction to re-use this for say 10 tracks?

Thanks!

Max Patch
Copy patch and select New From Clipboard in Max.

KJ

peninsula's icon

Hi Raja,

Thanks for response, no those names are just OSC names i made up to communicate with the Lemur. It is just me learning Max/MSP. Thanks for the tips, i will try to see where i get with your tips. I will post the results here ;-)

peninsula's icon

Thanks for the tips about the substitution through #1 works great. However i ran into a problem with the OSC naming. Max can bind the value of #1 to e.g. /Live/#1Fader. I have figured out o work around with the append and prepend objects for sending to my Lemur.
However it looks that i can change it for the route object. i can't dynamically change the route value.

peninsula's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Never mind, i solved the problem using the CNMAT osc-route object: