setting buffer length with counter rather than argument.

Aug 10, 2011 at 5:34pm

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.

thanks
ned
:)

– Pasted Max Patch, click to expand. –
#58411
Aug 15, 2011 at 2:23pm

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.

#209959

You must be logged in to reply to this topic.