Forums > Jitter

jit.spill and jit.fill limits of 255?

March 27, 2007 | 1:59 am

It appears jit.spill and jit.fill are limited to lists of 255, correct? If so, it would be helpful document this limit.

Thanks.

Adam


March 27, 2007 | 3:07 am

>It appears jit.spill and jit.fill are limited to lists of 255,
>correct? If so, it would be helpful document this limit.

I think of it differently. *List processing* in Max [i.e. lots of
what you'd do with a bunch
of data stored in a large list] is limited to the 250-odd limit.
Jit.spill and jit.fill will
happily store as much stuff as you want.

max v2;
#N vpatcher 226 45 1232 752;
#P origin 0 -5;
#P window setfont "Sans Serif" 12.;
#P newex 555 493 73 196620 print;
#P window linecount 2;
#P comment 633 376 343 196620 You can retrieve values from your "list
as matrix" using the ‘getcell’ message;
#P number 797 526 58 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 715 527 58 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 674 493 133 196620 unpack s i s i;
#P message 520 407 103 196620 getcell $1;
#P number 520 377 58 12 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 3;
#P comment 457 569 532 196620 Most list processing objects in Max
have an upper limit of 256 elements at this time. If you’d like to
work with more than 256 elements , you could consider storing them
as a matrix , processing the items in the list , and then routing
them back into max;
#P user ubumenu 46 415 97 196620 0 1 1 0;
#X add pass;
#X add *;
#X add /;
#X add +;
#X add -;
#X add +m;
#X add -m;
#X add %;
#X add min;
#X add max;
#X add abs;
#X add avg;
#X add absdiff;
#X add wrap;
#X add fold;
#X add !pass;
#X add !/;
#X add !-;
#X add !%;
#X add &;
#X add |;
#X add ^;
#X add ~;
#X add >>;
#X add < <;
#X add &&;
#X add ||;
#X add !;
#X add >;
#X add < ;
#X add >=;
#X add < =;
#X add ==;
#X add !=;
#X add >p;
#X add

#X add >=p;
#X add < =p;
#X add ==p;
#X add !=p;
#X add sin;
#X add cos;
#X add tan;
#X add asin;
#X add acos;
#X add atan;
#X add atan2;
#X add sinh;
#X add cosh;
#X add tanh;
#X add asinh;
#X add acosh;
#X add atanh;
#X add exp;
#X add exp2;
#X add ln;
#X add log2;
#X add log10;
#X add hypot;
#X add pow;
#X add sqrt;
#X add ceil;
#X add floor;
#X add round;
#X add trunc;
#X add ignore;
#X prefix_set 0 0 0;
#X pattrmode 1;
#P window linecount 1;
#P newex 89 450 109 196620 prepend op;
#P button 454 128 25 0;
#P newex 392 223 138 196620 prepend select;
#P newex 392 190 73 196620 pack i i;
#P newex 454 157 128 196620 drunk 128 4;
#N counter – 1 1024;
#X flags 0 0;
#P newobj 392 90 161 196620 counter – 1 1024;
#P button 24 21 25 0;
#P newex 24 50 112 196620 uzi 1024;
#P button 86 128 25 0;
#P newex 24 223 138 196620 prepend select;
#P newex 24 190 73 196620 pack i i;
#P newex 86 157 128 196620 drunk 128 4;
#N counter – 1 1024;
#X flags 0 0;
#P newobj 24 90 161 196620 counter – 1 1024;
#P comment 347 633 123 196620 < - 0;
#P comment 347 567 123 196620 < - 127;
#P comment 713 316 123 196620 < - 0;
#P comment 713 250 123 196620 < - 127;
#P user multiSlider 24 573 319 71 0. 127. 1024 2921 15 0 0 2 0 0 1;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P newex 392 336 139 196620 jit.fill longlist_2;
#P user multiSlider 392 257 319 71 0. 127. 1024 2921 15 0 0 2 0 0 1;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P user multiSlider 24 257 319 71 0. 127. 1024 2921 15 0 0 2 0 0 1;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P newex 392 451 292 196620 jit.matrix longlist_2 1 int 1024;
#P newex 24 493 163 196620 jit.op @op wrap;
#P newex 24 535 222 196620 jit.spill @listlength 1024;
#P newex 24 377 292 196620 jit.matrix longlist_1 1 int 1024;
#P newex 24 333 139 196620 jit.fill longlist_1;
#P connect 19 0 18 0;
#P connect 18 0 13 0;
#P connect 13 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 5 0;
#P connect 5 0 0 0;
#P fasten 7 0 1 0 397 369 29 369;
#P connect 0 0 1 0;
#P fasten 25 0 3 0 94 485 29 485;
#P connect 1 0 3 0;
#P connect 3 0 2 0;
#P connect 2 0 8 0;
#P connect 13 0 17 0;
#P connect 17 0 14 0;
#P connect 14 0 15 1;
#P connect 26 1 25 0;
#P fasten 4 0 3 1 397 484 182 484;
#P fasten 18 0 20 0 29 84 397 84;
#P connect 20 0 22 0;
#P connect 22 0 23 0;
#P connect 23 0 6 0;
#P connect 6 0 7 0;
#P fasten 29 0 4 0 525 443 397 443;
#P connect 7 0 4 0;
#P connect 20 0 24 0;
#P connect 24 0 21 0;
#P connect 21 0 22 1;
#P connect 28 0 29 0;
#P fasten 4 1 34 0 679 486 560 486;
#P connect 4 1 30 0;
#P connect 30 1 31 0;
#P connect 30 3 32 0;
#P pop;


on the floor there’s a long wooden table/on the table there’s an open book/
on the page there’s a detailed drawing/and on the drawing is the name I took
Gregory Taylor http://www.rtqe.net


March 27, 2007 | 3:32 am

Thanks for the patch, will check it out.

Adam


March 27, 2007 | 1:18 pm


March 27, 2007 | 1:52 pm

On 27 mars 07, at 15:18, jeanfrancois.charles wrote:

> [multislider] seems limited to lists of 1024 elements.

It’s 4095 here.

ej

#P window setfont "Sans Serif" 9.;
#P number 68 238 70 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 68 211 78 196617 mxj list.Length;
#P user multiSlider 68 78 233 124 -1. 1. 4095 2681 15 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P connect 1 0 2 0;
#P connect 0 0 1 0;
#P window clipboard copycount 3;


March 27, 2007 | 2:21 pm


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