How many clips in a track??

    Nov 14 2010 | 3:07 pm
    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

    • Nov 17 2010 | 4:28 pm
      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?
    • Nov 17 2010 | 4:38 pm
      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.
    • Nov 17 2010 | 6:18 pm
      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. :-)
    • Nov 18 2010 | 10:25 pm
      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
    • Nov 19 2010 | 5:15 am
      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.
    • Jul 01 2013 | 5:00 pm
      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:
      but I am still trying to figure out how to get the ID number of the clip slot…
    • Jul 01 2013 | 6:18 pm