XML Feeds

.

[maxmsp] BUG in round~ for negative input values

volker böhm vboehm at gmx.ch
Sun Mar 30 07:34:23 MDT 2008


[round~] can't handle negative input values correctly.

- steps to reproduce:
open round~.help (or open attached patch)
enter 1 in the right inlet.
send a -1 to the left inlet.

- result:
output 0

- expected behavior:
output -1

and so on.

  osx 10.4.11, maxmsp 4.6.3

vb


#P user multiSlider 145 218 12 82 -3. 0. 1 2681 15 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P user multiSlider 92 218 12 82 -3. 0. 1 2681 15 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P window setfont "Sans Serif" 9.;
#P user number~ 53 191 102 206 9 3 3 2 0. 0. 0 0. 50 0. 0 0 0 221 221  
221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 106 114 37 196617 *~ -3;
#P newex 106 84 64 196617 phasor~ 0.1;
#P user ezdac~ 218 168 262 201 0;
#P user number~ 106 191 155 206 9 3 3 2 0. 0. 0 0. 50 0. 0 0 0 221  
221 221 222 222 222 0 0 0;
#P newex 106 158 50 196617 round~ 1;
#P connect 1 1 7 0;
#P connect 5 1 6 0;
#P fasten 4 0 5 0 111 140 58 140;
#P connect 4 0 0 0;
#P connect 3 0 4 0;
#P connect 0 0 1 0;
#P window clipboard copycount 8;



More information about the maxmsp mailing list