XML Feeds

.

[maxmsp] Re: possible for bang to act like toggle

Andrew Roth aroth21 at rogers.com
Sat Dec 1 09:12:39 MST 2007


try these, remember things like counter and comparisons don't work like most beginners think, a bang is any change of state, so sending an led a 0 is still a bang.  Comparisons send out a 1 for ever number that's 'true' and a 0 for ever number that's 'false'.  But this means it'll always bang even if you don't expect it to.
 
#P button 310 238 15 0;
#P button 253 233 15 0;
#P window setfont "Sans Serif" 9.;
#P number 236 156 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 334 157 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 287 156 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 254 193 54 196617 split 1 10;
#P button 168 242 15 0;
#P button 112 242 15 0;
#P newex 119 199 46 196617 TogEdge;
#P number 151 124 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 101 125 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 123 171 27 196617 >=;
#P connect 3 0 4 0;
#P connect 0 0 3 0;
#P connect 1 0 0 0;
#P connect 2 0 0 1;
#P connect 3 1 5 0;
#P connect 6 0 10 0;
#P connect 9 0 6 0;
#P connect 7 0 6 1;
#P connect 8 0 6 2;
#P connect 6 1 11 0;
#P window clipboard copycount 12;




More information about the maxmsp mailing list