Forums > MaxMSP

Native replacement for [shot~]?

Oct 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*

Oct 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)

Forums > MaxMSP