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

This is a place for people to chare the custom macros they have written.

Moderator: Moderators

User avatar
kimwida
Posts: 258
Joined: 05 Aug 2016, 16:26
Location: Seoul

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

Postby kimwida » 27 Jul 2024, 01:35

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.
icke_siegen
Posts: 1122
Joined: 02 Jul 2010, 10:29
Location: Siegen, Germany
Contact:

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

Postby icke_siegen » 27 Jul 2024, 15:28

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 10238 times


Just use a little javascript to filter for this property.
User avatar
kimwida
Posts: 258
Joined: 05 Aug 2016, 16:26
Location: Seoul

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

Postby kimwida » 28 Jul 2024, 04:01

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.
icke_siegen
Posts: 1122
Joined: 02 Jul 2010, 10:29
Location: Siegen, Germany
Contact:

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

Postby icke_siegen » 28 Jul 2024, 05:13

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.

Who is online

Users browsing this forum: No registered users and 6 guests