rsc3/doc/help/ugen/fft/pv-phase-shift.help.scrbl
2022-08-28 12:27:01 +02:00

23 lines
384 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(pv-phase-shift buffer shift)}
add `shift' to the phase component of every bin at `buffer'.
@racketblock[
(with-sc3
(lambda (fd)
(async fd (b-alloc 10 2048 1))))
]
@racketblock[
(let ((n (mul (white-noise ar) 0.1))
(x (mouse-x kr 0 1 0 0.1)))
(audition (out 0 (ifft* (pv-phase-shift (fft* 10 n) x)))))
]