rsc3/doc/help/ugen/oscillators/klang.help.scrbl
2022-08-28 12:27:01 +02:00

19 lines
454 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(klang rate freqScale freqOffset spec)}
Bank of fixed oscillators. The UGen assistant klang.spec can help
create the 'spec' entry. Note that the SC3 language reorders the
inputs, the rsc3 client does not.
@racketblock[
(let ((d (klang-data '(440 550 660 770 880 990 1000)
'(0.05 0.02 0.07 0.04 0.05 0.02 0.03)
(replicate 7 0))))
(audition (out 0 (klang ar 1 0 d))))
]