buffer~, record~ and play~ - having issues...

Michael Gary Dean's icon

Hello Maxers,

I'm having some problems with the record~, buffer~, and play~ objects working properly for me in my max patch. The basic signal chain goes:

input audio>gate audio to only allow audio through that is passed a certain threshold>don't allow a 0 signal to be reached until audio stops incoming (using the "legato" attribute of adsr~)>using this constant signal, enable record~ object and record gated audio>save to buffer>play recording

My problem may be somewhere in the gate, but the issue is that I cannot get the buffer to properly hold the audio signal. Instead it appears only a fraction of the recording is kept.

I've attached the patches below. Please note that audioGate~ is an ABSTRACTION. I have it saved in my patches folder of my Max 5 installation.

As always, any feedback would be really appreciated. I've been trying to get this patch going for some time now, so any turbo boosts would be awesome!

Thanks all,
M.

1638.audioGate.maxpat
Max Patch
Michael Gary Dean's icon

Here's the code:

Max Patch
Copy patch and select New From Clipboard in Max.

and for parr3.maxpat...

Max Patch
Copy patch and select New From Clipboard in Max.