Forums > MaxMSP

pattr : list with more than 256 items.

April 9, 2006 | 2:29 pm


April 9, 2006 | 3:46 pm

As far as remember, the limitation of pattr is 4095 items. But [zl
group] is limited to 256 items. Using [mxj list.Group] should make it.

Best,
ej


April 9, 2006 | 6:30 pm

Hi ej,

thank for answer. I have no experience with mxj objects. Could give me more detail please.

Nico.


April 10, 2006 | 7:51 am

Have a look to the list package (C74:/java/help/listpackage.help).
You’ll find in that package different object which are equivalent to
the zl’s, without the limitation to 256 items.

Best,
ej

#P window setfont "Sans Serif" 9.;
#P number 538 317 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#N counter 1 20;
#X flags 0 0;
#P newobj 538 289 68 196617 counter 1 20;
#P newex 538 257 50 196617 b 1;
#P comment 633 215 195 196617 < - the different list are 256 items
length;
#P comment 633 171 144 196617 < - send to psto for saving;
#P window linecount 3;
#P comment 633 116 144 196617 < - makes a list (in fact , it makes
plenty lists of 256 items);
#P button 482 48 15 0;
#P number 482 256 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 482 212 78 196617 mxj list.Length;
#P objectname toto[2];
#P newex 482 124 46 196617 zl group;
#P newex 482 80 50 196617 uzi 4095;
#P comment 633 53 115 196617 < - generates something;
#P comment 196 215 163 196617 < - verify the list is equal to 4095;
#P comment 196 171 144 196617 < - send to psto for saving;
#P comment 196 124 144 196617 < - makes a list of 4095 items;
#P button 45 48 15 0;
#P number 45 256 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 45 212 78 196617 mxj list.Length;
#P objectname toto[1];
#P newex 45 124 102 196617 mxj list.Group 4095;
#P newex 45 80 50 196617 uzi 4095;
#P comment 196 53 115 196617 < - generates something;
#P newex 482 168 127 196617 pattr titi @autorestore 0;
#X prestore 1 0 0;
#P objectname titi;
#P newex 45 168 127 196617 pattr toto @autorestore 0;
#X prestore 1 0 0;
#P objectname toto;
#P connect 5 0 6 0;
#P connect 7 0 3 0;
#P connect 3 2 4 0;
#P connect 16 0 12 0;
#P connect 12 2 13 0;
#P connect 14 0 20 0;
#P connect 14 0 15 0;
#P hidden connect 12 1 21 2;
#P connect 21 0 22 0;
#P connect 20 0 21 0;
#P connect 1 0 14 0;
#P connect 13 0 1 0;
#P connect 4 0 0 0;
#P connect 0 0 5 0;
#P window clipboard copycount 23;


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