Accessing samples in a buffer

Apr 8, 2011 at 7:12pm

Accessing samples in a buffer

I have a question related to the buffer~ object. Is it possible to get a
data block (for example 500 samples) out of the buffer without peek~ and a counterloop?
I couldn’t figure it out. Maybe anybody knows how it works and can give me a hint.

Many thanks and best regards.

Apr 8, 2011 at 8:13pm

check out [mxj buf.Op] and the ‘crop’ message to buffer~. Here is an example of usage:

– Pasted Max Patch, click to expand. –
Apr 8, 2011 at 8:37pm

Thanks for the answer, but with the ‘crop’ object I would ‘destroy’ the buffer. I want to sum up samples within a block and than take the next and so on…up to the end of the buffer.


You must be logged in to reply to this topic.