Forums > Max For Live

Controlling loop positions

December 16, 2010 | 10:49 am

HI all,
i’d like to control loop positions using m4l.

So far, i figured out how to retrieve their values using the property "get_beats_loop_length" and "get_beats_loop_start" in the live_Set path. The format is a string telling, measure.beats.thick,

anyway when i send it back modified from max to ableton it doesn’t work, meaning it doesn’t change loop points. Any idea? Maybe i’m just formatting the string wrongly. I can add my patch if you wanna try.

All the best
Alberto


December 16, 2010 | 12:00 pm

For changing you may use the properties loop_length and loop_start.
Note however that in this case the format is beats (as float numbers).


December 16, 2010 | 5:04 pm

Thanx broc i’ll try that. Where do you find the property list for a given object?
A


December 16, 2010 | 5:39 pm

Actually i found the list but still doesn’t work.
I receive messages correctly but when i try to modify values it’s difficult

It tells me wrong syntax.
Here is the patch, like live.observer example actually. Don’t know what is wrong.
A

Attachments:
  1. prova2.amxd

December 16, 2010 | 7:15 pm

In your patch try replacing the message [set value $1] by [set loop_start $1].


December 16, 2010 | 7:59 pm

fantastic it works perfectly.
Thanks broc
A


Viewing 6 posts - 1 through 6 (of 6 total)