I'm trying to make a patch that does something that I can do with "m4l.FireSelectedClip.maxpat", but I just want try another way, for learning purpose.
I ask the patch to get the selected_track id and the highlighted_clip_slot id. Each id is sent to a message box. Ok.
But the problem is :
how to translate the position indicated by these ids to a position that "live.path live_set tracks $1 clip_slots $2" can understand?
I have something to do before packing the ids; I tried the "M4L.api.RemoteMatchIdToIndex" but there's something I can't figure out about this patcher.
Can someone explain me what to do with it; or if there's another solution?