zl group

Dec 8, 2010 at 1:29pm

zl group

hi,

i have a problem with the zl group ! i want make a group of 512 value (zl group 512) , he make a group with only 256 value. i check with a zl len and the zl len give me 256.
i have recently make the update with the last version of max5.
anyone have a answer ?

this is a patch for explain.

– Pasted Max Patch, click to expand. –

thanks
f

#53809
Dec 8, 2010 at 1:44pm

The default maximum length for lists is 256. In order to increase this, you can supply an additional parameter. For instance [zl 1000 group].

_
johan

#193656
Dec 8, 2010 at 1:52pm

there are 512 values given from [random] but from the [zl group 512] object thy come out as 2 lists of 256 values. And that is weird! maybe it is an bug at the [zl group] object.

Nickolas

#193657
Dec 8, 2010 at 3:22pm

hi

too bad !
my intent is to write into a peek~
it’s possible to write into a coll and dump it. but i want to interpolate it
the value are from a WII®

like this :

– Pasted Max Patch, click to expand. –

is there a solution ?
thanks
f

#193658
Dec 8, 2010 at 5:05pm

they just ignore johan. -_-

#193659
Dec 8, 2010 at 8:29pm

[zl 512 group] not [zl group 512]

#193660
Dec 8, 2010 at 8:35pm

…or [zl 512 group 512]. Probably the interpolating needs to be done with two list-interpolate objects, as they most likely will be limited to 256. Slice off half with [zl 512 slice 256].
_
johan

#193661
Dec 8, 2010 at 8:37pm

Linterp in the Lobjects collection may also be helpful.

#193662
Dec 9, 2010 at 12:57am

“there are 512 values given from [random] but from the [zl group 512] object thy come out as 2 lists of 256 values. And that is weird! maybe it is an bug at the [zl group] object.”

nope, it’s behaving correctly. it gets the first 256 random values and collects it into a list of 256, outputs it, then repeats. so yes, you need to specify the length by saying [zl 512 group]. it’s in the help file but is easy to overlook.

for interpolation, you could also take the output list and [prepend setlist] to [multislider], then use [pattr] on the [multislider].

#193663
Dec 9, 2010 at 7:12am

Hello seejayjames,

for interpolation, you could also take the output list and [prepend setlist] to [multislider], then use [pattr] on the [multislider].

i learned (thanks philippe OLLIVIER) few days ago that you don’t need [multislider] :
[pattr] can do it alone …

– Pasted Max Patch, click to expand. –
#193664
Dec 9, 2010 at 4:06pm

hi all

thanks a lot for your answer
i have find this solution:

– Pasted Max Patch, click to expand. –

all the best
f

#193665

You must be logged in to reply to this topic.