rsc3/doc/help/ugen/fft/ifft.help.scrbl

26 lines
422 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(Ifft buffer wintype)}
(ifft* b) => (ifft b 0)
inverse Fast Fourier Transform. The inverse fast fourier transform
converts from frequency content to a signal.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(with-sc3
(lambda (fd)
(async fd (b-alloc 0 2048 1))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let* ((s (mul (white-noise ar) 0.05))
(c (fft 0 s 0.5 0 1)))
(audition (out 0 (Ifft c 0))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00