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!