XML Feeds

.

[maxmsp] Re: Re: Random between +/- 128.0??

UCDMSRA xlight63 at hotmail.com
Tue Aug 14 09:38:37 MDT 2007


Quote: gusanomaxlist wrote on Tue, 14 August 2007 04:03
----------------------------------------------------
> oops, forgot to include the content of coll in my previous patch...
> 
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P comment 339 176 100 9109513 your 7 main numbers;
> #P message 166 109 32 9109513 size 4;
> #P newex 70 73 141 9109513 t b b b b clear;
> #P newex 70 50 45 9109513 loadbang;
> #P newex 275 120 27 9109513 t i b;
> #P button 275 62 15 0;
> #P newex 275 96 47 9109513 random 7;
> #N coll myNr 1;
> #T flags 1 0;
> #T 0 36;
> #T 1 38;
> #T 2 40;
> #T 3 41;
> #T 4 42;
> #T 5 45;
> #T 6 47;
> #P newobj 275 173 57 9109513 coll myNr 1;
> #P newex 236 302 26 9109513 print;
> #P newex 236 264 27 9109513 - 12;
> #P newex 198 264 27 9109513 + 12;
> #P newex 198 234 87 9109513 gate 3;
> #P message 134 109 26 9109513 3 50;
> #P message 102 109 26 9109513 2 25;
> #P message 70 109 26 9109513 1 25;
> #N vtable 4 25 70 235 237 970100 128;
> #P newobj 198 164 55 9109513 table;
> #P comment 25 134 100 9109513 probabilities (%);
> #P connect 13 0 14 0;
> #P connect 14 0 2 0;
> #P connect 14 1 3 0;
> #P connect 14 2 4 0;
> #P connect 14 3 15 0;
> #P connect 14 4 1 0;
> #P connect 15 0 1 0;
> #P connect 12 1 1 0;
> #P connect 4 0 1 0;
> #P connect 3 0 1 0;
> #P connect 2 0 1 0;
> #P connect 1 0 5 0;
> #P connect 5 0 6 0;
> #P connect 5 1 7 0;
> #P fasten 5 2 8 0 279 292 241 292;
> #P connect 7 0 8 0;
> #P fasten 6 0 8 0 203 292 241 292;
> #P connect 11 0 10 0;
> #P connect 10 0 12 0;
> #P connect 12 0 9 0;
> #P connect 9 0 5 1;
> #P window clipboard copycount 17;
> 
> 
> 
----------------------------------------------------

wow, that's so great!! I didn't know I can use table as probabilities before. Talk about probabilities, if I need to random bunch of number like 0~100, but I hope to increase the probabilities of 4,8,9,11,13,16 to 30%, what is the best way to do that? I know it probably just take out the coll and use random or drunk, but how to connect table objects and do the trick? 

thank you so much


More information about the maxmsp mailing list