Page 1 of 1

scrub to absolute song position

Posted: Thu Mar 31, 2011 11:29 pm
by yannxou
It would be great to have a 'scrub_to' function in the LiveAPI.

Right now the 'live_set' only has a 'scrub_by' function which takes a time relative to the current position. I miss a function like 'scrub_to' that allows to jump to an absolute song position while playing without losing the tempo, just like when the mouse is pressed over the scrub area.

Please, correct me if I'm wrong and this can be done in some other way.

It would be great also if both 'scrub_by' and 'scrub_to' made the jump synchronized according to the quantization setting. Right now it seems that scrub_by always behaves like a 1/16 quantization. Maybe there should be a different function to distinguish this quantization from the global quantization or allow to specify the desired quantization when calling the function (ie: scrub_to(24,'1bar'))

Hope you like the idea (for a better scriptable Live).

Re: scrub to absolute song position

Posted: Thu Mar 31, 2011 11:41 pm
by Yoseph
you can scrub to a specific bar using the transport controls. Is that what you're looking for?

Re: scrub to absolute song position

Posted: Fri Apr 01, 2011 9:37 am
by yannxou
What do you mean with the transport controls?

According the Live Object Model there's no function like this:
http://cycling74.com/docs/max5/refpages ... model.html

I mean something like:
live_set.song.scrub_to(absolute_position_in_beats)
or
live_set.song.scrub_to(absolute_position_in_beats,quantization)

Re: scrub to absolute song position

Posted: Sun Apr 03, 2011 5:12 pm
by Yoseph
Top Center. To the left of the global play there is a global position in bars/beats. You can scrub and/or enter in exact placement for your start position playback.

Re: scrub to absolute song position

Posted: Sun Apr 03, 2011 8:20 pm
by yannxou
8O Should I change the post title to 'scrub to absolute song position using LiveAPI'? :wink: