Automatic buffer cropping after recording ?

Dec 5, 2009 at 6:19pm

Automatic buffer cropping after recording ?

Hi everyone,

I’ve been busy for a while writing a voice processor patch,
i have a looping section, and was wondering whether its possible
to have a buffer crop itself automatically to the size of the recorded
amount of samples.
Or to acomplish the same automatic effect somehow.
Thanx in advance.

Dec 5, 2009 at 8:45pm

oops!! just found out how.

i’ve used a timer object to get the ms time ofthe recording, and
used that data to set the min and max points of the waveform object,
and its crop function.


Jan 18, 2013 at 11:34pm


I know this is old but can you tell me how your solution worked? I have the same problem and found this thread, but that doesn’t fix my solution. Cropping waveform~ doesn’t crop buffer~, and I want to write the cropped file… Did you find a solution for this?


Jan 19, 2013 at 12:20am

The ‘crop’ message to buffer~.

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.