rsc3/doc/help/ugen/fft/pv-brick-wall.help.scrbl

26 lines
481 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(pv-brick-wall buffer wipe)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Clears bins above or below a cutoff point. `wipe' = a unit signal,
from -1 to 0 the UGen acts as a low-pass filter, from 0 to 1 it
acts as a high pass filter.
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 ((x (mouse-x kr -1 1 0 0.1))
(c (fft* 10 (mul (white-noise ar) 0.2))))
(audition (out 0 (ifft* (pv-brick-wall c x)))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00