Forums > Jitter

zl rot 256 limit?

November 11, 2008 | 6:03 pm

Hi,
Does anyone know if ‘zl rot’ has a limit of 256? I can’t seem to get it output any more than 256 numbers. see attached.

If this is the case, does anyone know of another similar wrap around object that can handle more numbers?

Thank you.


November 11, 2008 | 6:12 pm

On 11 nov. 08, at 19:03, Lukas Girling wrote:

> Hi,
> Does anyone know if ‘zl rot’ has a limit of 256? I can’t seem to get
> it output any more than 256 numbers. see attached.
>
> If this is the case, does anyone know of another similar wrap around
> object that can handle more numbers?

You need to specify the maximum size by using the first argument. [zl
group]‘s default value for the number of arguments to wait is still
256, so you need to put 1000 there too.

Best,
ej

– Pasted Max Patch, click to expand. –

November 11, 2008 | 6:15 pm

On Nov 11, 2008, at 10:03 AM, Lukas Girling wrote:

> Does anyone know if ‘zl rot’ has a limit of 256? I can’t seem to get
> it output any more than 256 numbers. see attached.

As of Max 5, the 256 list limitation has been removed from zl, but you
must manually specify your maximum list size as in "zl
size> " If the maximum list size argument is absent
it is assumed to be 256. For your case it would be:

[zl 1000 rot 1]

instead of

[zl rot 1]

which is the same as

[zl 256 rot 1]

-Joshua

p.s. this question is more appropriate to the max list than the jitter
list


November 11, 2008 | 6:23 pm

optional argument between "zl" and "rot" lets you specify longer (or shorter) list lengths up to 32767.

David


November 11, 2008 | 11:33 pm

Thanks a lot.

Yes, sorry for putting this in the jitter forum.


November 12, 2008 | 4:47 am

You can also use [mxj list.Rotate] – especially in Max4 where zl has that 256 limit.

Zachary


Viewing 6 posts - 1 through 6 (of 6 total)