How to add notifier for when the current line selected changes?

Hi all, hope you’re doing well,
I’m trying to send OSC messages in real time as a track is being played, I couldn’t find it in the doc but I was wondering if there was an observable that would listen for when the currently selected line changes.
Thank you for taking the time to read this, have a good one!

1 Like

The selected line has no observable. This is probably because the API cannot be accurate at high playback speeds. When the playback is extremely high the line index cannot be returned accurately, but you will be able to tell that it has changed.

To achieve this, it is best to create your own timer, either with timer or with the API’s own notifier, and track the line index with an external local.

1 Like

Wow! What a quick reply, thank you!
I’ll give the timer approach a go!
Once again thank you and a happy new year!