pattr in m4l

fraction's icon

Hi,
it seems there's a tricky thing with pattr in Ableton environnement.
On my side, if i use a combination of patter @bindto and pattr, once the project is saved with a device using this, when open it again, the pattr is outing the previous value and the last one corresponding to the last saved, means it prints 2 datas.

Please try this :
load that device, change the int value - save the Live project. Open it again and watch the console. It will monitor 2 values out.

pattest2.amxd
amxd 3.97 KB

In max there's not such behaviour.

Max Patch
Copy patch and select New From Clipboard in Max.

is it a bug?
thx

fraction's icon

I know there are limitations in the use of pattr in ableton, but the beast is nevertheless really hard to tame. Yet it is undeniable that pattr represents a serious potential in the m4l environment.
here in this case, I understood finally that the bindto object must absolutely be set on automate and stored and the pattr attached to it set on "stored only" to be able to work. It was a lot of test before understanding really how it work in m4l. ..very different behavior.

fraction's icon

also, i kinda have very bad performance with automation on the pattr in ableton.
Automating only one pattr takes between 3 to 5% of ableton cpu, which is super high.

pattest3.amxd
amxd 5.92 KB

any thoughts?

Vincent Goudard's icon

You have parameter_enable on the pattr on the right.
Its values will be stored in the Live session, as explained in the ref :
https://docs.cycling74.com/max8/vignettes/live_parameters

fraction's icon

ooh such a mistake. Thanks for pointing it out.