Forums > MaxMSP

Native replacement for [shot~]?

October 12, 2010 | 3:53 pm

I was just playing with Andrew Benson’s [shot~], and ran aground when I discovered that it can’t be interrupted mid-ramp.

Then I had a little "Eureka!" moment, and thought that others might have overlooked this obvious solution too…

Problem: you need a click-triggered ramp from 0 to 1

Solution: [click] -> [rampsmooth 0 44100] -> [!-~ 1]

Obvious! *kicks self*


October 12, 2010 | 6:03 pm

Yep, that works great unless you need to set the ramp length at audio rate, in which case it becomes a little more tricky to patch.


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