<div dir="ltr"><div dir="ltr">Hi Max, I'm responding to an email from another thread, but I think it belongs here :) <div><br></div><div>On 05.03.21 17:45, Max wrote:<br>> It finally came to me that when I put tabwrite~ into an abstraction I<br>> can pause the array writing by stopping audio processing in that<br>> abstraction using switch~. It also can loop by writing into the table<br>> like into a ringbuffer. The other half of the issue is to also take<br>> account for the write pointer in the player. I'm using sig~ 1 into<br>> rpole~ 1 (Thanks José de Abreu) and using that in the deque reader.<br>> The accompanying dequread4~ uses that write head position as an offset<br>> to the table (modulo the table size).<br>><br>> it's vanilla<br>><br>> it may have stupid problems / errors, please let me know if you find any.<br>> There is an error in the Pd console<br>> no such table ''<br>> but that doesn't seem to affect the functionality and Pd can't trace<br>> that error.<span class="gmail-im" style="color:rgb(80,0,80)"><br></span><br></div><div>So, I've seen your last revision of the patch and I'm not sure I get how it is useful or why you need it like that. And now I'm really just curious and interested in the applications of this.</div><div><br></div><div>It's nice that it is all vanilla, but it is still very limited as I see it. You don't have sample accuracy for start writing and stopping or pause/continue. </div><div><br></div><div>And I see that the looping (or ring buffering) isn't perfect either because of this sample accuracy issue. You're analyzing to see if your signal counter goes over the array size but the resulting bang comes out after some samples, so... clicks.</div><div><br></div><div>Anyway, this approach of yours is quite similar to what I did here with objects from cyclone, have you checked it? Doesn't it do the same thing? Does it fail for your needs somehow?</div><div><br></div><div>I just made an update to the ELSE library (version beta 37) and now I can do the same with objects from ELSE, so I'm attaching it here.</div><div><br></div><div>Note I've also added a new [del~] object with a freeze option and also included that functionality in [ffdelay~], but I guess that's something not really appropriate for what you want, what do you say?</div><div><br></div><div>cheers</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 26 de fev. de 2021 às 10:03, Max <<a href="mailto:abonnements@revolwear.com">abonnements@revolwear.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi list,<br>
<br>
I'm looking for concepts like a queue or arrayDeque in Pd.<br>
Like a delay line which I can pause adding new elements into and it will <br>
act like an array until I decide to add more. At audio rate.<br>
Is there something simple that I have overlooked? What's the best <br>
strategy to implement this?<br>
<br>
M.<br></blockquote><div><br></div><div> </div></div></div>