track status display
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
You can get/observe clip properties like 'length' and 'playing_position'.
For more details see documentation.
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.
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
Try this.
thanks broc