it seems that there is a bug with peek~ and buffer~ and the buffer size is not defined at the initialization. The example below, which is a copy/paste of the help patch from peek, does not work, at least on my machine:
... but this one, where the buffer size is set in ms a the initialization, works:
I guess I have to provide a more precise bug report, my previous message was too vague. So, on my machine at least (non-retina MBP, 2*2.3GHz, OS 10.8.4, Max 6.1.3, both 32 and 64 bits), when I load the following patch, only the buffer on the right is correctly filled:
The left buffer is filled with a constant value which is the final value that was sent to peek. I tested it in 32 and 64 bits, with DAC on and off, with any possible sample rate and with several audio drivers, I still have this issue.