Controlling loop positions

Dec 16, 2010 at 10:49am

Controlling loop positions

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

#53974
Dec 16, 2010 at 12:00pm

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

#194222
Dec 16, 2010 at 5:04pm

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

#194223
Dec 16, 2010 at 5:39pm

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
#194224
Dec 16, 2010 at 7:15pm

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

#194225
Dec 16, 2010 at 7:59pm

fantastic it works perfectly.
Thanks broc
A

#194226

You must be logged in to reply to this topic.