select next track /canonical_parent

John Clark's icon

Hi!

I'm new in the thrilling world of M4L and I recently learned how to use the "path this_device canonical_parent" to apply a M4L patch on its current track.

I'd like to know how can I select the track just below ?

Bonus question : I have a patch running to be sure a track is unmute at the begining of a song. On the same track I've got an IAC driver routine combined with a note in a midi clip which tell the playhead to go back to the previous locator (for looping purpose in live condition). It seems that there is a conflict between the M4L patch and the IAC Driver midi instruction because the loop is not functionnal when the patch is on. If I desactivate the patch, the loop works fine.

That's why I moved the patch on a previous midi track and therefore asked for a way to select the next track instead of setting the track id manually (which can be pretty annoying If I had a track above, resulting in an offset of the track number).

Thank you !