How set track selector relative to session box?

395 viewsCSS Questions
0

Is possible to set track selector button relative to session box?
There’s no controller input in Track Selector mapping

admin Changed status to publish May 22, 2024
Attached Files:
0

Hello navfive,

I am not sure if I understand your question completely, but I have set up a reaction for following the highlighted track. I guess when you select a track it gets highlighted.
In this example, I have an 8 track Sessionbox and when I navigate to for example track 12, the Sessionbox follows so that track 12 will be the last one on my Sessionbox (so track 5 to 12 will be visible)

Listener is:
self.song().view.add_selected_track_listener -> (Live Object Model -> Song -> ‘Selected Track’ has changed)

Action is:
if self.get_selected_track_num()<7:
self.set_sessionbox_offsets(0, 0)
else:
self.set_sessionbox_offsets(self.get_selected_track_num()-7, 0)

Hope this is something that can help you get in the right direction.
Regards

admin Changed status to publish May 22, 2024
Attached Files:
0

Hi davlar,
Yes, you just paste that code into the custom field.
Adjust the number (here 7) to the number of tracks you have in your ‘Session Box’ minus 1! (I have an 8 track ‘Session Box’ so I have put 7 in my action)

admin Changed status to publish May 22, 2024
Attached Files: