track ids and path live_set tracks x are not the same?

Jul 10, 2011 at 9:30am

track ids and path live_set tracks x are not the same?

Hi,

I am getting a list of all track ids and then selecting certain tracks.

Using the id of each track I pass it to

path live_set tracks $1 (id of my track)

However, it seems that live_set tracks refers to position of the track, rather than the ID. Is there any way that I can select the track based on the ID of the track?

Cheers

N

#57944
Jul 10, 2011 at 9:39am

no worries i found a way I used

M4L.api.GetSelectedTrackIndex

Cheers.

N

#207923
Jul 10, 2011 at 9:42am

if you have the id of an element from the live-object-model you can pass it directly to [live.object]‘s right inlet. you don’t need to go via the [live.path ] to read the id again.

j.

#207924

You must be logged in to reply to this topic.