Hello,
I like the fx effects, but theres a thing i dont really understand
This creates an instrument, and adds an effect. You can hear the
effect immediately, all is well:
(def d (industrial2))
(inst-fx! industrial2 fx-chorus)
Looking at the fx-chorus definition it seems it has parameters:
(defsynth fx-chorus
[bus 0 rate 0.002 depth 0.01]
(let [src (in bus)
dub-depth (* 2 depth)
rates [rate (+ rate 0.001)]
osc (+ dub-depth (* dub-depth (sin-osc:kr rates)))
dly-a (delay-l src 0.3 osc)
sig (apply + src dly-a)]
(replace-out bus (* 0.3 sig))))
... but there doesnt seem to be any way to control the parameters.
This doesnt work:
(ctl fx-chorus :depth 1)
this kinda ... does something:
(def ch (fx-chorus :bus 0 :rate 0.02 :depth 0.1))
(inst-fx! industrial2 ch)
(ctl ch :depth 1)
but not always?
I'm kind of confused.
Regards
/Joakim
--
Joakim Verona
joa...@verona.se