XML Feeds

.

[maxmsp] Re: Set value for slide object

jasch   j at jasch.ch
Mon Apr 28 07:25:24 MDT 2008


in max 4 you could set the filter coefficient to 1., then send your  
new value, then re-set the filter coefficient value back to your  
original coeffs. a coefficient of 1. means: don't keep any of the old  
values. this is equivalent to no filtering, which is what you do when  
you set a new value directly.

hth

/*j

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 339 71 53 196617 autopattr;
#X prestore slide_down 1 0 10.;
#X prestore slide_up 1 0 3.5;
#P objectname u304000001;
#P flonum 128 118 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 128 71 15 0;
#P flonum 177 248 130 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 195 71 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 195 98 41 196617 t b f 1.;
#P flonum 257 71 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname slide_up;
#P flonum 293 71 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname slide_down;
#P newex 279 184 27 196617 f;
#P newex 243 184 27 196617 f;
#P newex 177 221 67 196617 slide 3.5 10.;
#P connect 5 2 0 1;
#P connect 5 2 0 2;
#P connect 2 0 0 2;
#P connect 1 0 0 1;
#P connect 5 1 0 0;
#P connect 0 0 7 0;
#P connect 9 0 0 0;
#P connect 5 0 1 0;
#P connect 5 0 2 0;
#P connect 8 0 9 0;
#P connect 6 0 5 0;
#P connect 4 0 1 0;
#P connect 3 0 2 0;
#P window clipboard copycount 11;



More information about the maxmsp mailing list