[PD] using tabwrite~ for a circular buffer?
Alexandre Torres Porres
porres at gmail.com
Thu Sep 14 02:14:01 CEST 2017
What about using delay lines Ali? Those are circular buffers...
2017-09-13 19:13 GMT-03:00 Miller Puckette <msp at ucsd.edu>:
> Here's what I do (probably not the only way but it works): if you
> want the most recent 10 seconds of input available in a contiguous
> stretch in an array, make an array big enough to hold 20 seconds, and
> using two tabwrite~ objects, alternatively bang one or the other every
> 10 seconds. At any moment the stretch of the array between the two
> tabwrite~ pointers (which you can find using "timer") is 10 seconds
> long and contains the most recent input samples.
> On Wed, Sep 13, 2017 at 05:31:55PM -0400, Ali Momeni wrote:
> > hello all,
> > is there a way to use tabwrite~ for a circular buffer?
> > in other words, is there a way to make tabwrite~ go around and start
> > recording in the beginning of the table, once it has reached the end?
> > i have done some searching and found this thread:
> > https://forum.pdpatchrepo.info/topic/8260/creating-a-
> > but there seem to be no resolution; i realize that you can do this with
> > different method of writing into tables that's driven by events, but i'd
> > like to do it with tabwrite~ and all signals.
> > thanks!
> > -ali
> > _______________________________________________
> > Pd-list at lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list