rsc3/doc/examples/ugen/fft/ifft.help.scm

14 lines
336 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (Ifft buffer wintype)
;; (ifft* b) => (ifft b 0)
;; inverse Fast Fourier Transform. The inverse fast fourier transform
;; converts from frequency content to a signal.
(with-sc3
(lambda (fd)
(async fd (b-alloc 0 2048 1))))
(let* ((s (mul (white-noise ar) 0.05))
(c (fft 0 s 0.5 0 1)))
(audition (out 0 (Ifft c 0))))