Forums > Max For Live

Odd peek~ behavior using m4l patch in live, works in max…

August 13, 2011 | 7:57 pm

so, im having very strange behaviour out of the peek~ object used to write a buffer in a m4l audio rack. I attach the patch as dumbed down as i can make it, the patch works fine when open for editing in max, recording through the buffer normally. But when i close the patch up, the peek~ signal plays fine, but nothing gets recorded into the last tenth of the buffer length (regardless of buffer length). I’m at a loss here, is this a bug or what?

http://lokeymassive.net/misc/peektest.amxd


August 25, 2011 | 9:09 pm

hmmm, where is the peek~ ?

Do you want to fill the whole buffer with the help of phasor~ and poke~ ? Then you have to set the buffer~ range with a "sizeinsamps $1" message with a value from the numberbox. The integer argument within buffer~ object specifies the range in milliseconds(not in samples). Hope that helps.

– Pasted Max Patch, click to expand. –

Viewing 2 posts - 1 through 2 (of 2 total)