setting buffer length with counter rather than argument.
i wanted to figure out a way to could record into a buffer without giving the buffer a length argument, so i could record for an indefinite length of time. using a metro and a counter plus a waveform~ to reference the buffer the signal works but nothing seems to record into the buffer. is this because the buffer cannot record whilst it is being re-sized? please see attached audio effect.
Max Patch
Copy patch and select New From Clipboard in Max.
thanks
ned
:)
You're correct. Any tme you resize a buffer~, you'll wipe out its contents. The solution is not to resize the buffer~ but to change the size on the objects that are playing back the audio, and you'll find that most of the objects that do this (e.g. groove~, wave~) have inlets for doing this.