Number of arrangement clips in one track.

Finn Hansen's icon

markers.maxpat
Max Patch

Hi.

I'm trying to read all arrangement clips on one track, but i hit a limit on 128.

How can i read a more than 128 clips ?

All the best

Finn

tyler mazaika's icon

No code to comment on, but if you’re passing through a zl/list object then 256 is your default maximum list length. That’s 128 “id nn” entries.

Finn Hansen's icon

I have added the code, but you are right i'm using ZL

tyler mazaika's icon

Yeah so there's your answer.

Finn Hansen's icon

But that value , is resetting, when i save the patch!

tyler mazaika's icon

Hm, that's very odd. You could try typing it directly into the object. [zl filter @zlmaxsize 1000 id].

If you can reproduce the value not saving when you set it in the inspector you should probably file a ticket with support.

Source Audio's icon

I have also observed that behaviour of zl objects listsize reset.

One needs to add @zlmaxsize argument to keep it when patch gets reopened.