Changing start marker of clip with API

Learn about building and using Max for Live devices.
Post Reply
abbey1
Posts: 18
Joined: Mon Feb 01, 2010 7:44 pm

Changing start marker of clip with API

Post by abbey1 » Fri Aug 13, 2010 11:12 pm

A few questions:

1) Can you change the start position of a clip (the lower triangle on the left in the clip view) with the API so that the loop length doesn't change? What is the path name? It's got to be under "live_set tracks N clip_slots M clip" I am thinking the function may be "move_playing_pos" but I am not sure. In the help box in Live, the button is called the "start marker" when you hover over it, but I can't find any similarities in the documentation.

2) Also, for the parameter type "double" is this different from a regular float or does it just mean it has more decimal spaces and therefore more bytes.

Crubier
Posts: 51
Joined: Thu Nov 05, 2009 8:37 am
Location: Toulouse, France

Re: Changing start marker of clip with API

Post by Crubier » Sat Aug 14, 2010 5:13 pm

abbey1 wrote:A few questions:

1) Can you change the start position of a clip (the lower triangle on the left in the clip view) with the API so that the loop length doesn't change? What is the path name? It's got to be under "live_set tracks N clip_slots M clip" I am thinking the function may be "move_playing_pos" but I am not sure. In the help box in Live, the button is called the "start marker" when you hover over it, but I can't find any similarities in the documentation.
To move the clip start point, you have to set looping off, and use loop start.
More details :
http://forum.ableton.com/viewtopic.php?f=35&t=146610
http://forum.ableton.com/viewtopic.php? ... 54&start=0
http://forum.ableton.com/viewtopic.php?f=35&t=147434

abbey1 wrote: 2) Also, for the parameter type "double" is this different from a regular float or does it just mean it has more decimal spaces and therefore more bytes.
Double is the same as float, but with DOUBLE precision, so, as you said, more bytes.
In M4L and javascript, just use double everywhere instead of float and it will be ok...

Post Reply