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

Aug 13, 2011 at 7:57pm

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

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

#58461
Aug 25, 2011 at 9:09pm

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. –
#210080

You must be logged in to reply to this topic.