Figured it out. You apply a Gain
effect with a gain of zero, so there is no immediate effect, and then call Set effect parameter
when you want to fade, set to Filter/delay/gain gain
with your final dB (negative to fade down), and the time period to fade over.
Sample here: GainTester.CAPX