Re: Exponential Wind-downs for synths?
Posted: Sat Aug 25, 2012 9:19 am
Try this:
The start and end frequencies must be less than half of the track sample rate.
Code: Select all
(setq start-frequency 10) ; initial frequency in kHz
(setq end-frequency 1) ; final frequency in kHz
(let* ((ny (/ *sound-srate* 2))
(f1 (min (* start-frequency 1000) ny))
(f2 (min (* end-frequency 1000) ny)))
(lp (lp s (pwlv f1 1 f2))(pwlv f1 1 f2)))