this patch is not perfect, but i hope it can help. Cyrille
Roman Haefeli a écrit :
_ max peak /| /|
/ | / | /| / | /| / | / | _ min peak / | /| / | / | / | /| / |/ |/ |/ |/ |/ |
specs:
- the angles of the ramps should be constant
- the peaks should be randomly distributed between min_peak and max_peak
i forgot:
- after each 'sawtooth' the signal should return to zero (though it
should be obvious by the picture).
roman
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
#N canvas 1805 168 799 447 10; #X obj 33 244 line~; #X obj 33 273 oscillo~; #X obj 51 167 delay; #X obj 33 190 b; #X obj 51 144 + 10; #X obj 51 101 random 80; #X floatatom 74 125 5 0 0 0 - - -; #X text 118 126 min; #X floatatom 109 79 5 0 0 0 - - -; #X text 151 77 max - min; #X obj 51 40 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X text 71 36 start; #X msg 33 217 0 , 1 100; #X text 250 315 <- this abstraction is in cvs/abstraction/nusmuk; #X floatatom 126 187 5 0 0 0 - - -; #X text 176 185 next peak; #X obj 126 165 / 100; #X connect 0 0 1 0; #X connect 2 0 3 0; #X connect 3 0 5 0; #X connect 3 0 12 0; #X connect 4 0 2 0; #X connect 4 0 16 0; #X connect 5 0 4 0; #X connect 6 0 4 1; #X connect 8 0 5 1; #X connect 10 0 5 0; #X connect 12 0 0 0; #X connect 16 0 14 0;