2012/1/8 Alexandre Torres Porres porres@gmail.com
Hi folks, I'm trying to implement a ring buffer with a table for a sampler patch based on an array.
But I'm having the hardest time cause it always "clicks" when I start writing back on the beginning of the array.
I made this simple test attached below using metro. But I'm figuring the flaw is because is not trivial at all to keep control data in sync with audio blocks
any hints or ideas?
[bang~] ?
thanks
============================
#N canvas 727 343 619 425 10; #N canvas 0 0 450 300 (subpatch) 0; #X array sample 88200 float 2; #X coords 0 1 88199 -1 200 140 1; #X restore 261 172 graph; #X obj 82 188 tabwrite~ sample; #X obj 109 270 tabplay~ sample; #X obj 104 307 dac~; #X obj 99 240 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 168 131 metro 2000; #X obj 53 124 adc~ 1; #X obj 189 172 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 101 119 sel 0; #X msg 101 143 stop; #X obj 137 232 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 168 57 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 168 78 t f f; #X connect 2 0 3 0; #X connect 2 0 3 1; #X connect 2 1 4 0; #X connect 4 0 2 0; #X connect 5 0 1 0; #X connect 5 0 7 0; #X connect 6 0 1 0; #X connect 8 0 9 0; #X connect 9 0 1 0; #X connect 10 0 2 0; #X connect 11 0 12 0; #X connect 12 0 5 0; #X connect 12 1 8 0;
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list