Live Track numbers: Why is the first track number same as first first return track?
I have been experimenting getting details for a selected track by passing in live.path using the "goto" in a message where I can provide a variable for the track number: something Like this:
"goto live_set tracks $1 mixer_device volume".
But I noticed something odd that I'm sure has an explanation: I made a little patch that identifies the track number and outputs a value for it. and I noticed that the far left Track iis value 0. and increments each track to the right... if I have 10 tracks the far right "regular" track will be 9. All well and good.
However, the First send/return track identifies its track number as 0 again! The return track to the right of that is track number 1... and oddly - the far right Master track is 0 again. Obviously the Object ID is going to be unique, but I can't pass "goto" a track ID.
Now I get that the Path in the LOM for these rightmost tracks are in a different place... .. but if I created a MAX device that displayed values for a "selected_track" . .. How would I handle the situation where I selected a non standard track?
Instead of track numbers use the path of the selected track.
Oh my! That is so much better than my terrible hack! (I was passing in the track number).. The most useful element (for me) of your solution here is the "append mixer_device volume". I was trying to find a way to take input from the selected track and define specific extensions to the path.. I didn't know I could do that with "append" .
Thanks!
Hey! now that I see this in action.. it occurs to me: Is there a funnction or maybe just a useful M4L device somewhere that will display that path when you select or even hover a mouse over ANY element with a path in Ableton? That seems like that would be really handy! I know that for some elements there are sometimes multiple paths to the same object... but I am imagining this would be rather handy!
Is there a funnction or maybe just a useful M4L device somewhere that will display that path when you select or even hover a mouse over ANY element with a path in Ableton?
i had implemented this in some device that i have left aside for the moment.
i will try and remember to post it here when i resume working on it, but it may be a couple of weeks.
it would be nice though to see if anyone else has implemented this as well.