XML Feeds

.

[maxmsp] compare 5 numbers

Jean-Fran ç ois Charles jeanfrancois.charles at newflore.org
Sun Sep 2 05:39:50 MDT 2007


Here is a quick and dirty thing that might give you ideas. But we would need
to know what you want to do exactly: do you want to know the number of
different values within the 5, or to do something when... what?

Jean-François.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 256 335 157 196617 2 3 7;
#P message 256 217 157 196617 2 7 7 3 2;
#P newex 256 198 62 196617 prepend set;
#P newex 256 316 62 196617 prepend set;
#P newex 141 284 54 196617 thresh 20;
#P newex 141 264 40 196617 change;
#P newex 141 244 25 196617 iter;
#P number 201 76 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 141 224 40 196617 zl sort;
#P newex 141 167 55 196617 zl group 5;
#P newex 141 145 58 196617 random 10;
#P newex 141 122 40 196617 uzi 5;
#P toggle 141 76 15 0;
#P newex 141 99 70 196617 metro 30000;
#P connect 4 0 5 0;
#P connect 4 0 11 0;
#P connect 10 0 13 0;
#P connect 11 0 12 0;
#P connect 9 0 10 0;
#P connect 8 0 9 0;
#P connect 7 0 8 0;
#P connect 5 0 7 0;
#P connect 6 0 0 1;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 1 0 0 0;
#P window clipboard copycount 14;


At 9/2/07 7:03 AM, you wrote :

> 
> Hi.
> I?m using five random objects to create 5 numbers every 30000 millisecond
> What i have difficulties figuring out is how to make a comparison if one
> number is equal to another number in the list. Or if several of the numbers is
> equal.
> Any idea? 
> Thanks Richardo
> 
> _______________________________________________
> maxmsp mailing list
> maxmsp at cycling74.com
> http://www.cycling74.com/mailman/listinfo/maxmsp





More information about the maxmsp mailing list