Controlling loop positions

JesterN's icon

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

broc's icon

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).

JesterN's icon

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

JesterN's icon

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

1559.prova2.amxd
amxd
broc's icon

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

JesterN's icon

fantastic it works perfectly.
Thanks broc
A