How can I set track and clip values of a live path message?
I want to be able to read some numbers for a clip and a track (lets call them C and T), and then set a live path from these numbers like this:
path live_set tracks T clip_slots C
I want to set the message using the right inlet, then send the message using the left inlet. However, I have tried various things and just cannot figure this out at all. At the moment I am prepending each number with text, but I cannot combine the two parts to create one message. There is probably a far simpler way to solve this problem though.
My patch is below. Feel free to tell me I am being stupid because I am a Max noob :-)
Managed to figure it out myself, you need to use tosymbol and fromsymbol objects in combination with a pack object and it works like a dream. Working patch is below:
try this
but i dont want to send the message every time I send it, I need to be able to independently set the message and then independently send the message. but your one works great if you want to send the message every time!
this seems to work
then just bang the 2nd message box with your 'overdub' number
Psyko,
nice solution. But you may replace [pack] with [pak].
Thus it will work also if only the clip number is changed.
@Psyko - Yeh this is a much better solution than mine, just the meesage from the first message box should be sent to the right inlet of the second message box and it is job done. Thanks for your help people!