Page 1 of 1

Is there any API to find out where a playback is active or not?

Posted: 27 Jul 2024, 01:35
by kimwida
Is there any API to find out where a playback is active or not?

I searched 17.0 API documents for it. But I don't think I find it.

Re: Is there any API to find out where a playback is active or not?

Posted: 27 Jul 2024, 15:28
by icke_siegen
You can use http://localhost:4430/titan/handles to get the handles.

The reply contains a property pe handle indicating its active state:

active.png
active.png (3.4 KiB) Viewed 14344 times


Just use a little javascript to filter for this property.

Re: Is there any API to find out where a playback is active or not?

Posted: 28 Jul 2024, 04:01
by kimwida
Thanks for the reply.

I am using T2 and trying to implement midi feedback with macros.

But I can't find a way how to use your way to find out a playback is active or not.

Re: Is there any API to find out where a playback is active or not?

Posted: 28 Jul 2024, 05:13
by icke_siegen
You are right, as far as I know this is not possible in Titan with macros.

As you specifically asked for an "API way" I was assuming you were refering to the web API.