Forums > MaxMSP

new range to randomurn without it forgetting previous…

May 22, 2008 | 2:12 pm

im looking to pass a new range to randomurn with out it forgetting the
numbers it already generated.


May 22, 2008 | 7:58 pm

try this.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 42 53 60 196617 get random;
#P comment 187 39 35 196617 reset;
#P message 187 54 33 196617 clear;
#P newex 83 220 27 196617 t i i;
#P newex 176 252 32 196617 sel 0;
#P newex 55 167 38 196617 gate 2;
#P newex 83 196 27 196617 i;
#P newex 176 229 27 196617 ==;
#P newex 104 120 228 196617 t b b i i 2;
#P number 83 305 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 104 52 15 0;
#P number 134 52 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 127 181 49 196617 append 1;
#P newex 176 205 27 196617 bag;
#P newex 104 95 40 196617 urn 10;
#P comment 134 38 35 196617 range;
#P fasten 13 0 1 0 192 82 109 82;
#P fasten 13 0 2 0 192 87 181 87;
#P connect 4 0 1 1;
#P fasten 7 1 2 0 163 176 181 176;
#P fasten 7 2 8 1 217 224 198 224;
#P fasten 12 1 3 0 105 246 119 246 119 172 132 172;
#P connect 9 0 12 0;
#P connect 12 0 6 0;
#P fasten 7 3 9 1 271 149 105 149;
#P lcolor 5;
#P fasten 11 1 10 0 203 276 32 276 32 158 60 158;
#P lcolor 2;
#P connect 8 0 11 0;
#P fasten 7 4 10 0 325 158 60 158;
#P lcolor 3;
#P connect 1 0 7 0;
#P fasten 7 0 10 1 109 144 88 144;
#P fasten 10 0 1 0 60 191 44 191 44 88 109 88;
#P lcolor 4;
#P connect 10 1 9 0;
#P connect 2 0 8 0;
#P connect 5 0 1 0;
#P fasten 3 0 2 0 132 201 181 201;
#P window clipboard copycount 16;


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