listener for any clip playing
Is there a listener for something like ‘all tracks playing status’?
Or the possibility to get ‘true’ if any track in the whole set is playing a clip and ‘false’ if no track is playing a clip?
I could do this for single tracks by using the positive or negative index I get from the following code:
self.song().tracks[“track-id”].playing_slot_index >= 0
self.song().tracks[“track-id”].playing_slot_index < 0
I want to use this to lighten the LED of my “stop all clips” button but only when clips are playing.
Currently I could implement this with my workaround for only the 4 tracks in my session box…
Any further suggestions?
Best,
Lukas
ok, with a loop on “tracks” and this:
self.song().tracks[loop_number].playing_slot_index >= 0
I can at least lighten the LED when any clip is playing.
I cant detect when no clip is playing (or all clips finished) with playback still on though…
Sign up
User registration is currently not allowed.