15 lines
356 B
Racket
15 lines
356 B
Racket
#lang scribble/manual
|
|
@(require (for-label racket))
|
|
|
|
@title{(pv-phase-shift90 buffer)}
|
|
|
|
Swap the real and imaginary components of every bin at `buffer' and
|
|
swap the of the imaginary components.
|
|
|
|
(with-sc3
|
|
(lambda (fd)
|
|
(async fd (b-alloc 10 2048 1))))
|
|
|
|
(let ((n (mul (white-noise ar) 0.1)))
|
|
(audition (out 0 (ifft* (pv-phase-shift90 (fft* 10 n))))))
|
|
|