Hallo, 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__