[PD] using tabwrite~ for a circular buffer?
joson.android at googlemail.com
Thu Sep 14 02:33:43 CEST 2017
Funny incident as i was searching for this today as well.
I indeed used a delay line in combinatin with tabsend~ and a banged switch~
to be able to have an up to date table of 8192points every 40ms at a
samlingrate of 44.1k. Hope this gives any clues, esle i could give an
Am 14.09.2017 2:16 vorm. schrieb "Alexandre Torres Porres" <porres at gmail.com
> 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-live-
>> > but there seem to be no resolution; i realize that you can do this
>> with a
>> > 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/li
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
> 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