Forums > Max For Live

setting buffer length with counter rather than argument.

August 10, 2011 | 5:34 pm

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.

thanks
ned
:)

– Pasted Max Patch, click to expand. –

August 15, 2011 | 2:23 pm

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.


Viewing 2 posts - 1 through 2 (of 2 total)