rampsmooth~ that accepts audio signals to control ramp times?

Feb 15, 2013 at 6:02am

rampsmooth~ that accepts audio signals to control ramp times?

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 at 10:31am

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 at 5:23pm

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 at 4:53pm

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 (jvkr.nl). That might be helpful as well.

Feb 16, 2013 at 6:10pm

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…


You must be logged in to reply to this topic.