help with buffer length in groove patch

Mar 2, 2011 at 1:25pm

help with buffer length in groove patch

hello. i am new to max. i have made a patch in maxforlive using buffer~ and groove~. it seems to work ok but i would like to know if it is possible to set the buffer size based on how long you record for. right now i have a buffer of 2000, which seems to mean i can only record for that amount of time. can i set it so i can record for more or less in realtime depending on how long i record for?

i have included the patch.

– Pasted Max Patch, click to expand. –

thanks for your help.

  1. groove1.amxd
Mar 2, 2011 at 7:19pm

I don’t think that’s possible. with buffer~ you set aside a certain amount of memory (RAM) to record to. Once that’s set you can’t change it (well, you can, but you loose what you have already recorded). If you don’t know your recording length ahead of time use sfrecord~ to write to disk rather than RAM. Then when recording is done you can open the file into a buffer~ object and still use groove~.

that’s one way of doing it anyway ;)

Mar 3, 2011 at 10:40am

Just wanted to mention that writing to disk with sfrecord~ and open the file into a buffer can be automated, ie. hidden from the user.

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.