Page 1 of 1
Polling for Currently Launched Clip
Posted: Wed Oct 08, 2014 1:37 pm
by Observer-A
Hey guys, sorry for the noob question but I am simply trying to grab the id and name of a launched clip.
I have seen a myriad ways to interact with clips but I couldn't find anything that covered this specific use case.
Any help/links would be greatly appreciated and I will release my device once I get through this part.
Thanks all!
Re: Polling for Currently Launched Clip
Posted: Wed Oct 08, 2014 4:42 pm
by TYLRbass
I was working on this myself to try and parse out a video clip number that I was adding to my clip naming
What I found out is that first you need to get the currently playing clips number, and then ask for it's name.
Re: Polling for Currently Launched Clip
Posted: Wed Oct 08, 2014 5:07 pm
by Observer-A
Very cool!
What was the general path that you used to get the currently playing clip number?
Thanks man!
Re: Polling for Currently Launched Clip
Posted: Wed Oct 08, 2014 6:08 pm
by S4racen
playing_slot_index on the track in question...
You need to look at the Live Object Model for this ind of thing....
Cheers
D
Re: Polling for Currently Launched Clip
Posted: Wed Oct 08, 2014 6:51 pm
by Observer-A
Thanks again guys. I have been going over the LOM but I didn't see that method for some reason.
That was really the root of the problem for me and I finally gave up and asked.
I appreciate the help and I will report back when the device is finished up
Take care!
Re: Polling for Currently Launched Clip
Posted: Wed Oct 08, 2014 9:24 pm
by Valiumdupeuple
If you're going the "highlighted_clip_slot" way you don't even need to poll for a specific track first.
Re: Polling for Currently Launched Clip
Posted: Thu Oct 09, 2014 1:41 am
by Observer-A
Nice!
I would like to keep it as dynamic as possible so that is probably the way I will end up going.
I appreciate everyone's help!
Re: Polling for Currently Launched Clip
Posted: Thu Oct 23, 2014 6:28 pm
by TYLRbass
Valiumdupeuple wrote:If you're going the "highlighted_clip_slot" way you don't even need to poll for a specific track first.
good call, the highlighted clip isn't necessarily the launched clip, unless you've got select on launch enabled.
Re: Polling for Currently Launched Clip
Posted: Thu Oct 23, 2014 8:30 pm
by Valiumdupeuple
You're right TYLR.
detail_clip can also be useful.