Forums > Max For Live

Duplicating channel strips

December 23, 2009 | 6:33 pm

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!

KJ

– Pasted Max Patch, click to expand. –

December 23, 2009 | 7:52 pm

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 ;-)


December 25, 2009 | 2:10 pm

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.


December 25, 2009 | 3:48 pm

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

– Pasted Max Patch, click to expand. –

Viewing 4 posts - 1 through 4 (of 4 total)