Forums > MaxMSP

Accessing samples in a buffer

April 8, 2011 | 7:12 pm

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.

April 8, 2011 | 8:13 pm

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

— Pasted Max Patch, click to expand. —
April 8, 2011 | 8:37 pm

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.

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

Forums > MaxMSP