rsc3/doc/help/ugen/oscillators/klang.help.scrbl

20 lines
454 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(klang rate freqScale freqOffset spec)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
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.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(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))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00