track status display

    Mar 11 2011 | 10:00 pm
    hi guys
    how do I observe or set the path to track status display in maxforlive, so that I can count the time that a clip will take until the end, or even count loops, etc.?
    if you can figure it how can you make a copy compressed of it?
    thanks in advance
    tiago morgado

    • Mar 12 2011 | 10:57 am
      You can get/observe clip properties like 'length' and 'playing_position'.
      For more details see documentation.
    • Mar 12 2011 | 2:12 pm
      thanks.. I've already been able to do that for length with the code below.. I was just you kinda waiting for an excusive to start with M4L LOM, and now that I have some ideas in mind, I have the perfect reason to start dealing with it.
    • Mar 12 2011 | 3:08 pm
      by now, I am tracking playing position of the clip with a get (using the live object) doing something like this
      the problem is that I don't actually want to use the metro + get method.. what I want to do is to observe the whole thing.. the reason why prefer to do this with observe, is that I will be saving a small amount of cpu usage.. the problem is that I am still very in the beggining with all of this (not maxmsp, but m4l lom/api).. can't you guys give me an hint of how I can use live observe to do this thing properly? by now I have done this like that.. but it's not working.. I know that it has something to do with the way as I am adressing playing_position method.. so if you can help it would be nice
    • Mar 12 2011 | 3:42 pm
      Try this.
    • Mar 12 2011 | 4:39 pm
      thanks broc