How to ramp down to a number and hold that number, before ramping up again?

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

I want to ramp down from 108 to 0. Then stay on 0, for an amount of time that I can specify, before then ramping back up to 108.

The patch above is what I have so far

Thank you for any help

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

Genius! thanks a bunch Rick

dee kay news's icon

Thanks a lot too > Rick!
i was searching for a way to control the framerate smooth
(smooth stop> hold value> start again smooth)... that works fine with this patch. and easyto edit. nice!