zl rot 256 limit?

Letraset Catalogue's icon

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.

Emmanuel Jourdan's icon

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

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

Joshua Kit Clayton's icon

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

David Beaudry's icon

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

David

Letraset Catalogue's icon

Thanks a lot.

Yes, sorry for putting this in the jitter forum.

Zachary Seldess's icon

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

Zachary