How many clips in a track??

Nov 14, 2010 at 3:07pm

How many clips in a track??

Hi All,

I’m after a simple patch that will tell me how many of the scenes in a particular track have clips recorded into them? I can tell how many scenes there are and observe the clip_slots as id’s but i can’t figure out what to do next….

Cheers
D

#53306
Nov 17, 2010 at 4:28pm

hey, i’m thinking about a similar problem. i need to know which ID a clip has had that has just been deleted. a clip slot observer can tell you if there is a clip or not in the slot but nothing about the clip ID.

i’ll dig into it later.
can you post your approach?

o.

#191771
Nov 17, 2010 at 4:38pm

Here’s the code I posted in the Ableton Forum, should be of use for your problem as well 11olsen.

Open a blank M4L Device, past it in and hit the big bang at the top left.

Double click on the Dark Blue Coll objects to view ClipSlot IDs, Clip IDs and Clip Names.

– Pasted Max Patch, click to expand. –
#191772
Nov 17, 2010 at 6:18pm

i think i have another idea, for my situation. i already observe the clip id and the current clip slot index. if the clip id changes to 0 but the slot index is the same, i can tell clip with id N has been deleted. i\’m about to check it.
@ s4racen: do you know the myr m4l control abtractions release 2. there is everything you can get, set and observe in it + useful helpers. although i don\’t wanna help with another device you’re gonna sell. :-)

#191773
Nov 18, 2010 at 10:25pm

I’ll have a look for that thanks, and no this isn’t for a device i’m selling i’m helping an artist create a device for his live set, it’s very specific so i’ll doubt it’ll see the light of day but it’s been a real challenge to get completed and stable….

Cheers
D

#191774
Nov 19, 2010 at 5:15am

my idea works only for a single clip deletion not for multiple
clips. was hoping to manage this without adding more and more observers.
noticed later it was the Myr himself posted above.

#191775
Jul 1, 2013 at 10:00am

I would like to have a small max audio effect at each single clipslot. This patch should give me these two values ($1 and $2):
path live live_set tracks $1 clip_slots $2

The track ID number I can easily trace it using this patch:

http://cycling74.com/forums/topic/how-to-get-track-number-from-inside-the-track/

but I am still trying to figure out how to get the ID number of the clip slot…

#254631
Jul 1, 2013 at 11:18am
#254644

You must be logged in to reply to this topic.