rsc3/doc/help/ugen/fft/pv-phase-shift270.help.scrbl

24 lines
394 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(pv-phase-shift270 buffer)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Swap the real and imaginary components of every bin at `buffer' and
swap the sign of the real components.
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 10 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 ((n (mul (white-noise ar) 0.1)))
(audition (out 0 (ifft* (pv-phase-shift270 (fft* 10 n))))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00