rsc3/doc/help/ugen/chaos/crackle.help.scrbl

27 lines
531 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(crackle rate chaosParam)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
A noise generator based on a chaotic function. The parameter of
the chaotic function has useful values from just below 1.0 to just
above 2.0. Towards 2.0 the sound crackles.
The equation implemented is: y0 = fabs(y1 * param - y2 - 0.05f)
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition (out 0 (mul (crackle ar 1.95) 0.5)))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
Modulate chaos parameter
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let ((p (line kr 1.0 2.0 3 remove-synth)))
(audition (out 0 (mul (crackle ar p) 0.5))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00