I know, I thought of that, but then, I need to make the table always as big as a multiple of an audio block, right?<div><br></div><div>I was hoping to have a way without this restrain. But maybe it isn&#39;t that much of a big deal.</div>
<div><br></div><div><br><div class="gmail_quote">2012/1/8 tim vets <span dir="ltr">&lt;<a href="mailto:timvets@gmail.com">timvets@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote"><div class="im">2012/1/8 Alexandre Torres Porres <span dir="ltr">&lt;<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><br></div><div>Hi folks, I&#39;m trying to implement a ring buffer with a table for a sampler patch based on an array.</div><div><br></div><div>But I&#39;m having the hardest time cause it always &quot;clicks&quot; when I start writing back on the beginning of the array.</div>




<div><br></div><div>I made this simple test attached below using metro. But I&#39;m figuring the flaw is because is not trivial at all to keep control data in sync with audio blocks</div><div><br></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div></div><div>any hints or ideas?</div>
<div><br></div></blockquote><div><br></div></div><div>[bang~] ?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div>thanks</div>
<div><br></div><div><br>

</div><div>============================</div><div><br></div><div><div>#N canvas 727 343 619 425 10;</div><div>#N canvas 0 0 450 300 (subpatch) 0;</div>
<div>#X array sample 88200 float 2;</div><div>#X coords 0 1 88199 -1 200 140 1;</div><div>#X restore 261 172 graph;</div><div>#X obj 82 188 tabwrite~ sample;</div><div>#X obj 109 270 tabplay~ sample;</div><div>#X obj 104 307 dac~;</div>




<div>#X obj 99 240 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1</div><div>-1;</div><div>#X obj 168 131 metro 2000;</div><div>#X obj 53 124 adc~ 1;</div><div>#X obj 189 172 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144</div>




<div>-1 -1;</div><div>#X obj 101 119 sel 0;</div><div>#X msg 101 143 stop;</div><div>#X obj 137 232 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144</div><div>-1 -1;</div><div>#X obj 168 57 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0</div>




<div>1;</div><div>#X obj 168 78 t f f;</div><div>#X connect 2 0 3 0;</div><div>#X connect 2 0 3 1;</div><div>#X connect 2 1 4 0;</div><div>#X connect 4 0 2 0;</div><div>#X connect 5 0 1 0;</div><div>#X connect 5 0 7 0;</div>




<div>#X connect 6 0 1 0;</div><div>#X connect 8 0 9 0;</div><div>#X connect 9 0 1 0;</div><div>#X connect 10 0 2 0;</div><div>#X connect 11 0 12 0;</div><div>#X connect 12 0 5 0;</div><div>#X connect 12 1 8 0;</div></div>




</div>
<br></div></div>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>
</blockquote></div><br></div>