Forums > Gen

help with "one shot" buffer in gen

Jan 11 2016 | 9:02 am

Hi, I am currently struggling with buffers in gen. I would simply like to find a way to read the content of a buffer (an impulse) without looping it, in order to excite a physical model.
So far I have only managed to read the content while looping indefinitely, using peek and counter object with its maximum set to the buffer’s length.
I have tried to stop and reset the counter by using the "edge" object in the max world, and setting the "amount to add per sample" to 0 when the counter hit maximum, but unfortunately it seems like the max world is not fast enough and by the time the amount is set to 0, the buffer already started the beginning of a second reading.
I feel like there must be a much more efficient way to do this, and since I am fairly new to using buffer within gen, any kind of help would be much appreciated,


Jan 11 2016 | 10:34 am

Just keep it all in gen~

-- Pasted Max Patch, click to expand. --

This read from 0 to 1 in a specified amount of time. You could easily not normalize and just use that to read your sample index.

Jan 13 2016 | 4:02 am

Exactly what I was looking for, thank you so much for your help !

Sep 01 2016 | 11:02 am

Hi all

Sorry to revive this old post, but could someone clearify what the difference between these 3 methods are
other than rate~ returns to 0.


— Pasted Max Patch, click to expand. —
Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Gen