buffer peek and waveform not filling complete buffer?

plem's icon

This patch tries to fill a 512 sample buffer with a kind of single slope with aid of an uzi. However the waveform only shows anything written in the first 50 samples or so? What am I doing wrong?
updated max to 6.1.3. Working on Mac 10.8.5

Thanks for any help

Peter

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

Rick's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Your buffer is 512 ms long not 512 samples long. The example patch shows how to use info~ to get the duration in samples of buffer test~.

plem's icon

Hai Rick,

As simple as that: ms in stead of samples. And that did cost me a half day!
Thanks a lot of lot.

Peter