I wonder if anyone has come up with a way to write audio to a table in the same way that delwrite~ writes audio to its buffer. That is, you write n samples to an empty table and when it gets to the end, it keeps writing to the last position of the table while shifting everything else so that at any moment the audio in the table represent the last n samples that have been sent to it.
I'm trying to do a freeze patch that records a live input to a table, but if I bang a tabwrite~ object upon freezing, it's going to take a while to fill the freeze table with sound (according to the length of the table) and that produces a gap when switching between the live input and the frozen sound. Besides, the sound written to the table will be the sound that has reached the tabwrite~ object after the bang, and I'd like to make use of that length of audio that has been fed to the table before I hit freeze.
I reckon that if such a method of table writing is possible it would be useful for other things too, like tape-style multi-head delays etc.
Thanks in advance for your help.