[maxmsp] Re: Random between +/- 128.0??
Chris Muir
cbm at well.com
Wed Aug 15 10:39:12 MDT 2007
- Previous message: [maxmsp] Re: Random between +/- 128.0??
- Next message: [maxmsp] Re: Random between +/- 128.0??
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 8:44 AM -0600 8/15/07, UCDMSRA wrote: >For what I understand right now, I probably need to build a 100x100 table which have y = 1,3,5,7,11 and x=20 in each y position. Please correct me if I was wrong. If you swap your X and Y, I believe that is more of less correct. Remember, for this use of the table object, the probabilities are on the Y axis, and the data for those probabilities are the X axis. So I made a table with all positions on the X axis set to 1, except for positions 1, 3, 5, 7 and 11, which are set to 20. At the end of this email is the same patch with the new probabilities in the table >At the last part, I still can not figure out how to build the whole patch. If I use the same way you show me (probability table and result table), I hope I can use something which be able to read results from the results table and express properly. I hope I can use something to read the result table and unpack it so that I will get the whole results numbers once at a time. Is it possible? The result table was just in my patch to show that it was statistically working. All you really need is to bang the probabilities table every time you need a new number. The only part you really need to care about is in green in the included version of the patch. >I hope you can understand what I try to say and I am very appreciate your patience and kindly help. No worries. Here's the modified patch with your new probabilities in it: #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 124 129 124 196617 <- a table of probabilities; #P comment 81 31 172 196617 <- hit me to generate some numbers; #P button 54 31 15 0; #P newex 54 50 50 196617 uzi 1000; #P button 54 109 15 0; #P comment 123 238 140 196617 <- open to look at the results; #P message 115 199 33 196617 clear; #N vtable 128 779 281 1400 844 989800 128 results; #P newobj 54 235 67 196617 table results; #P newex 54 211 46 196617 histo; #B color 5; #N vtable 100 30 89 940 871 989816 128 probs2; #T set 0 1 20 1 20 1 20 1 20 1 1 1 20 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1; #P newobj 54 130 66 196617 table probs2; #P user panel 38 99 252 75; #X brgb 204 242 207; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P connect 4 0 2 0; #P connect 4 0 3 0; #P connect 8 0 7 0; #P connect 7 0 6 0; #P connect 6 0 1 0; #P connect 1 0 2 0; #P connect 2 0 3 0; #P connect 2 1 3 1; #P window clipboard copycount 11; -C -- Chris Muir | "There are many futures and only one status quo. cbm at well.com | This is why conservatives mostly agree, http://www.xfade.com | and radicals always argue." - Brian Eno
- Previous message: [maxmsp] Re: Random between +/- 128.0??
- Next message: [maxmsp] Re: Random between +/- 128.0??
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
