i tried quantizing the slider output and to use the set message to immediately set the quantized value back into the fader for display, but didn't get any usable results.
Yeah, I tried that too, and the results are funny. I didn't quite expect it to work with a default "steady on click" slider, but I did expect it to work with a "jump on click" slider. The problem is that after clicking, when you drag, the "jump on click" slider behaves exactly like a default one.
However, have a look at the attached proposed workaround. I use two sliders one on top of the other, and take advantage of the fact that in Pd the gui object on the background catches mouse interaction, not the one on the front.
The main patch is "test.pd", while the other one is the abstraction used to control the slider. Look at the "send" and "receive" properties of the two sliders.
Is this an aproximation to what you were trying to do?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Matteo Sisti Sette wrote:
However, have a look at the attached proposed workaround. I use two sliders one on top of the other, and take advantage of the fact that in Pd the gui object on the background catches mouse interaction, not the one on the front.
attachment missing. in the meantime i did the same :-)
dfgmasdr IOhannes
#N canvas 210 51 450 367 10; #X obj 100 102 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 5300 1; #X obj 100 102 vsl 15 128 0 1 0 0 $0-intslider $0-intslider empty 0 -9 0 10 -262144 -1 -1 3629 1; #X obj 100 17 inlet; #X obj 100 323 outlet; #X obj 100 238 * $1; #X obj 100 260 i; #X obj 100 282 t f f; #X obj 165 297 s $0-intslider; #X obj 165 274 / $1; #X obj 100 69 / $1; #X obj 100 39 route float set; #X obj 151 65 / $1; #X obj 151 87 t f f; #X msg 151 109 set $1; #X connect 0 0 4 0; #X connect 2 0 10 0; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 6 0 3 0; #X connect 6 1 8 0; #X connect 8 0 7 0; #X connect 9 0 0 0; #X connect 10 0 9 0; #X connect 10 1 11 0; #X connect 11 0 12 0; #X connect 12 0 13 0; #X connect 12 1 4 0; #X connect 13 0 0 0; #X coords 0 -1 1 1 15 133 2 100 100;
#N canvas 0 0 450 300 10; #X obj 184 79 islider 7; #X obj 219 79 islider 3; #X text 184 61 7; #X text 218 61 3; #X text 276 139 [islider <max>];
IOhannes m zmölnig escribió:
attachment missing. in the meantime i did the same :-)
Oh, I did attach it. Maybe it was stripped away because it was a zip file??
Let's try with the individual .pd files
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Matteo Sisti Sette wrote:
IOhannes m zmölnig escribió:
attachment missing. in the meantime i did the same :-)
Oh, I did attach it. Maybe it was stripped away because it was a zip file??
ah no, it was because i have weird settings on my monitor, which strips of the lower 168 samples, so i didn't see the end of the message in my mail-reader.
sorry for the noise.
fgamsdr IOhannes