Reply To: MillerPuckette's "Switch&Ramp" reworked in gen~

Sounded interesting so I took a shot. I used an exponential ramp (I like them that way), but a linear ramp version is included. Neither is perfect, for two reasons: 1) the output can end up outside the -1,1 range if the signal wavelength is longer than the ramp duration (likely), and 2) a discontinuity of phase typically also implies a discontinuity of slope, so there is still some low frequency pop. I find the clipping is less likely and the pop more wide-band (less focused) with an exponential envelope.

<code>

– Pasted Max Patch, click to expand. –

</code>

Jun 26, 2013 at 10:33am #254170