[PD] Loop record using arrays?
fbar at footils.org
Thu Nov 15 23:39:39 CET 2007
Tim Flood hat gesagt: // Tim Flood wrote:
> I am working on a patch that uses several short sample buffers to
> record live audio input. By default, recording stops once the end of
> the buffer is reached. But what if you want to do loop recording in
> which new audio data overwrites the old data on each pass? Is this
> possible using the standard vanilla pd objects [tabread4~],
> [tabwrite~] [array]?
Yes, no problem. Just start writing at the beginning again when you've
reached the end of the array. When reading, make sure you're not
reading over the sample where you're currently recording as that will
click. See attached example for a quick example.
Frank Barknecht _ ______footils.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1977 bytes
Desc: not available
More information about the Pd-list