Forums > MaxMSP

rampsmooth~ that accepts audio signals to control ramp times?

Feb 15 2013 | 6:02 am

Hey there,

I’m looking for a rampsmooth~ module, but one that accepts audio signals to control the ramp times. I can’t use Max scheduler timing at all in this application, every thing needs to be sample accurate, Is there such a module or, perhaps I could try building such a module with gen~ ? I unfortunately don’t know gen well enough to achieve such a task.


Feb 15 2013 | 10:31 am

Such a thing is realisable with gen~. The good thing about gen~ is that there is a limited amount of functions, so getting to know them doesn’t take very long. And then it is like solving a puzzle. This version is with only one interpolation input, I leave it up to you to add a second one in case you need.

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

Feb 15 2013 | 5:23 pm

thank you for posting that – though I am unsure of how the history and feedback works there. Is there a good tutorial somewhere that would walk me through that concept?

Feb 16 2013 | 4:53 pm

The history is the little gem that makes gen~ so fantastic. What happens here is that the previous output is tested against the input. If there is a difference, then a step is added, in an adding-loop, to the output value. History serves as a one sample delay that allows feedback.

There are many examples in the gen~ examples folder within the app folder, some easier, some more challenging. That is a good starting point. Recently I posted a small introduction to non standard synthesis on my website ( That might be helpful as well.

Feb 16 2013 | 6:10 pm

thanks for that explanation. It would be useful to modify that gen~ patch to have separate control over the up and down ramps – also it would be cool to be able to specify non-linear curves as well. Not sure the latter is possible in a single sample feedback loop, but…

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

Forums > MaxMSP