hello,
i would try a more simple counter, but i don't see any obvious problem, and I 
can't test the patch.
cheers
c


Le 27/06/2017 à 16:04, Simon Iten a écrit :
dear list,

i try to make a monoponic bass synth patch that glides from note to note, but 
only when more than one note is pressed.
here is my attempt that works, but if i play very fast i get stuck notes and a 
stack overflow error. this seems to come from the counter. when i remove the 
counter part it all works as expected, but without glide...

is there something wrong with my approach? or is there a better (more stable) 
way to do this?

cheers



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

#N canvas 562 267 906 517 10;
#X obj 154 82 notein;
#X obj 154 249 mtof;
#X obj 154 328 lop~;
#X obj 154 352 osc~;
#X obj 263 429 *~;
#X obj 263 469 dac~;
#X obj 278 376 line~;
#X msg 278 292 0 5;
#X msg 306 292 1 2;
#X obj 335 327 f;
#X obj 391 188 vsl 15 128 100 1 1 0 empty empty glidetime 0 -9 0 10
-262144 -1 -1 7759 1;
#X msg 335 293 bang;
#X obj 154 158 spigot;
#X msg 218 312 200;
#X obj 278 267 select 0 1;
#X obj 332 88 loadbang;
#X obj 197 158 select 0;
#X text 420 296 only glide when the notes are played legato;
#X text 426 319 (new note on before old note off);
#X msg 348 158 6;
#X obj 243 213 +;
#X obj 272 216 f;
#X msg 196 180 -1;
#X msg 242 183 1;
#X msg 331 201 0;
#X connect 0 0 12 0;
#X connect 0 1 16 0;
#X connect 0 1 12 1;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 4 0 5 1;
#X connect 6 0 4 1;
#X connect 7 0 6 0;
#X connect 8 0 6 0;
#X connect 9 0 2 1;
#X connect 10 0 9 1;
#X connect 11 0 9 0;
#X connect 12 0 1 0;
#X connect 13 0 2 1;
#X connect 14 0 7 0;
#X connect 14 1 8 0;
#X connect 14 1 13 0;
#X connect 14 2 11 0;
#X connect 15 0 19 0;
#X connect 15 0 24 0;
#X connect 16 0 22 0;
#X connect 16 1 23 0;
#X connect 19 0 10 0;
#X connect 20 0 21 0;
#X connect 20 0 14 0;
#X connect 21 0 20 1;
#X connect 22 0 20 0;
#X connect 23 0 20 0;
#X connect 24 0 14 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to