I'm a bit unclear here exactly what you want to do, but for a live looper I made recently, I simply created a large buffer which could be recorded into. While it was recording, I had a counter object recording how many milliseconds worth of sound I had captured, so that when I wanted to loop or access in some other way whatever I had captured, I could translate the ms back to samples and use that as the max value. To loop I used [phasor~] multiplied by the length of the buffer I had used, to granulate I used the last sample as the last possible position. Hope that makes sense, and helps you think of how to deal with your specific problem.
D.
Andrew Faraday wrote:
Hey Guys
I'm trying to record to a table between two given points (e.g. note on and note off at a given pitch) so that an array
will resize the length of time between those points. So far I can only set the array size in advance and then record
(using [tabwrite~]) from a given point. Any ideas how I'd record like that?