rampsmooth~ that accepts audio signals to control ramp times?

meeble's icon

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.

thanks

jvkr's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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.

meeble's icon

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?

jvkr's icon

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.

meeble's icon

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...