Forums > MaxMSP

Multislider bug with mousefilter?

January 20, 2007 | 12:42 pm

Anyone else get strange behavior with editing a multislider — sometimes it sends out one edit list, sometimes it sends it out twice. I know it sends out when you click and then when you release, but even with mousefilter, it is erratic… it *should* only do it once per release, but not always…

-C

————————-

max v2;
#N vpatcher 15 55 1140 645;
#P window setfont "Sans Serif" 12.;
#P window linecount 1;
#P comment 544 38 115 9109516 4.6.2 , XP;
#P window linecount 2;
#P comment 207 391 346 9109516 Scroll through "undo" levels , though with bug , some levels are repeats… ach!;
#P window linecount 5;
#P comment 148 267 386 9109516 This should only advance once per mouse edit of top multislider , no? ; Sometimes it does 1 , sometimes it does 2… ; seems to depend (sort of) upon how you click it…;
#P toggle 22 101 29 0;
#P window linecount 1;
#P newex 28 140 111 9109516 gate;
#P newex 232 220 149 9109516 t 1 0 0 b b 0;
#P button 260 162 34 0;
#P user multiSlider 69 474 430 88 0. 127. 16 2921 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 number 154 391 35 12 1 0 1 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 147 424 66 9109516 clear;
#N coll multi 1;
#P newobj 28 423 111 9109516 coll multi 1;
#P newex 19 199 59 9109516 t l b;
#P message 52 303 66 9109516 set $1;
#P newex 28 335 111 9109516 prepend 1;
#P button 102 196 34 0;
#P number 52 271 35 12 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter 1 999;
#X flags 0 0;
#P newobj 52 236 111 9109516 counter 1 999;
#P newex 41 170 111 9109516 mousefilter;
#P user multiSlider 68 36 430 88 0. 127. 16 2921 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 comment 322 159 100 9109516 Reset all;
#P connect 2 0 8 0;
#P connect 14 5 16 0;
#P connect 14 0 16 0;
#P connect 16 0 15 0;
#P connect 8 0 6 0;
#P connect 7 0 6 0;
#P connect 11 0 9 0;
#P connect 10 0 9 0;
#P connect 6 0 9 0;
#P connect 15 0 2 0;
#P connect 8 1 3 0;
#P connect 3 0 4 0;
#P connect 4 0 7 0;
#P connect 14 2 1 0;
#P connect 14 1 12 0;
#P connect 9 0 12 0;
#P connect 14 3 5 0;
#P connect 5 0 3 2;
#P connect 1 0 15 1;
#P connect 14 4 10 0;
#P connect 13 0 14 0;
#P pop;


January 20, 2007 | 12:46 pm

If I take out the mousefilter and just accept the double-output, then I can scroll through every OTHER entry in the coll to get my Undo levels, which is the whole point. So the problem is worked around, but the underlying idea was a bit strange…

I wonder if it’s a timing / resolution issue with mousefilter?

-C

——————–

max v2;
#N vpatcher 15 55 1140 645;
#P window setfont "Sans Serif" 12.;
#P window linecount 1;
#P newex 76 389 59 9109516 * 2;
#P comment 544 38 115 9109516 4.6.2 , XP;
#P window linecount 2;
#P comment 207 391 346 9109516 Scroll through "undo" levels , though with bug , some levels are repeats… ach!;
#P window linecount 5;
#P comment 148 267 386 9109516 This should only advance once per mouse edit of top multislider , no? ; Sometimes it does 1 , sometimes it does 2… ; seems to depend (sort of) upon how you click it…;
#P toggle 22 101 29 0;
#P window linecount 1;
#P newex 28 140 111 9109516 gate;
#P newex 232 220 149 9109516 t 1 0 0 b b 0;
#P button 260 162 34 0;
#P user multiSlider 69 474 430 88 0. 127. 16 2921 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 number 154 391 35 12 1 0 1 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 147 424 66 9109516 clear;
#N coll multi 1;
#P newobj 28 423 111 9109516 coll multi 1;
#P newex 19 199 59 9109516 t l b;
#P message 52 303 66 9109516 set $1;
#P newex 28 335 111 9109516 prepend 1;
#P button 102 196 34 0;
#P number 52 271 35 12 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter 1 999;
#X flags 0 0;
#P newobj 52 236 111 9109516 counter 1 999;
#P user multiSlider 68 36 430 88 0. 127. 16 2921 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 comment 322 159 100 9109516 Reset all;
#P connect 14 0 7 0;
#P connect 13 5 15 0;
#P connect 13 0 15 0;
#P connect 15 0 14 0;
#P connect 7 0 5 0;
#P connect 6 0 5 0;
#P connect 19 0 8 0;
#P connect 9 0 8 0;
#P connect 5 0 8 0;
#P connect 7 1 2 0;
#P connect 2 0 3 0;
#P connect 3 0 6 0;
#P connect 13 2 1 0;
#P connect 13 1 11 0;
#P connect 8 0 11 0;
#P connect 10 0 19 0;
#P connect 13 3 4 0;
#P connect 4 0 2 2;
#P connect 1 0 14 1;
#P connect 13 4 9 0;
#P connect 12 0 13 0;
#P pop;


January 20, 2007 | 1:40 pm

yep this is strange …
look at this one, even weirder !

#P button 203 176 72 0;
#P button 187 286 72 0;
#P window setfont "Sans Serif" 12.;
#P window linecount 1;
#P newex 41 230 111 9109516 speedlim 1000;
#P newex 41 199 59 9109516 t b;
#P message 91 279 20 9109516 1;
#P number 41 339 35 12 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter 1 999;
#X flags 0 0;
#P newobj 41 304 111 9109516 counter 1 999;
#P newex 41 170 111 9109516 mousefilter;
#P user multiSlider 41 52 180 96 0. 127. 16 2921 15 0 1 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 connect 1 0 5 0;
#P connect 1 0 8 0;
#P connect 6 0 2 0;
#P connect 6 0 7 0;
#P connect 5 0 6 0;
#P connect 0 0 1 0;
#P connect 4 0 2 2;
#P connect 2 0 3 0;
#P window clipboard copycount 9;


Viewing 3 posts - 1 through 3 (of 3 total)