Polling for Currently Launched Clip

Learn about building and using Max for Live devices.
Post Reply
Observer-A
Posts: 106
Joined: Mon Jan 17, 2011 6:48 pm
Contact:

Polling for Currently Launched Clip

Post by Observer-A » Wed Oct 08, 2014 1:37 pm

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!
Ableton Crackhead and Habitual Drum Hitter
Observer-A.com
DustedGroove.com
Soundcloud

TYLRbass
Posts: 277
Joined: Tue Aug 30, 2011 8:51 pm

Re: Polling for Currently Launched Clip

Post by TYLRbass » Wed Oct 08, 2014 4:42 pm

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.
Image

Observer-A
Posts: 106
Joined: Mon Jan 17, 2011 6:48 pm
Contact:

Re: Polling for Currently Launched Clip

Post by Observer-A » Wed Oct 08, 2014 5:07 pm

Very cool!

What was the general path that you used to get the currently playing clip number?

Thanks man!
Ableton Crackhead and Habitual Drum Hitter
Observer-A.com
DustedGroove.com
Soundcloud

S4racen
Posts: 5834
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Polling for Currently Launched Clip

Post by S4racen » Wed Oct 08, 2014 6:08 pm

playing_slot_index on the track in question...


You need to look at the Live Object Model for this ind of thing....


Cheers
D

Observer-A
Posts: 106
Joined: Mon Jan 17, 2011 6:48 pm
Contact:

Re: Polling for Currently Launched Clip

Post by Observer-A » Wed Oct 08, 2014 6:51 pm

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 :D

Take care!
Ableton Crackhead and Habitual Drum Hitter
Observer-A.com
DustedGroove.com
Soundcloud

Valiumdupeuple
Posts: 1135
Joined: Mon May 31, 2010 12:36 pm
Contact:

Re: Polling for Currently Launched Clip

Post by Valiumdupeuple » Wed Oct 08, 2014 9:24 pm

If you're going the "highlighted_clip_slot" way you don't even need to poll for a specific track first.

Observer-A
Posts: 106
Joined: Mon Jan 17, 2011 6:48 pm
Contact:

Re: Polling for Currently Launched Clip

Post by Observer-A » Thu Oct 09, 2014 1:41 am

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!
Ableton Crackhead and Habitual Drum Hitter
Observer-A.com
DustedGroove.com
Soundcloud

TYLRbass
Posts: 277
Joined: Tue Aug 30, 2011 8:51 pm

Re: Polling for Currently Launched Clip

Post by TYLRbass » Thu Oct 23, 2014 6:28 pm

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.
Image

Valiumdupeuple
Posts: 1135
Joined: Mon May 31, 2010 12:36 pm
Contact:

Re: Polling for Currently Launched Clip

Post by Valiumdupeuple » Thu Oct 23, 2014 8:30 pm

You're right TYLR.
detail_clip can also be useful.

Post Reply