Fading a value over time

Arsx's picture

Hi,

I'm not certain where's a good place to post these types of questions, but here goes:

I have an LPD8 which I'd like to use to trigger some effects at different velocities. This part works great: I hit the pad harder or softer and get a larger or smaller value. Awesome.

The trouble is that in some cases I'd like the value to spike up when the pad is struck, but then fade downward from there. For example, I hit the pad and it spikes up to 1.0, but then I'd like it to taper off to 0.0 over the course of some number of seconds. I looked at using the Inertia patch to do this, but I can't seem to get it to work as expected. Any tips?

Serious Cyrus's picture
Re: Fading a value over time

Use the Smooth Patch with zero increasing duration, and decreasing duration to how long you want it to taper for.

Arsx's picture
Re: Fading a value over time

Perfect! This is exactly what I needed. Thank you.