External params of SynthDefs in Tidal
by Konstantinos Vasilakos
Hey all,
I am using some additional synthdefs and I was wondering if I can just
control them using their parameters, I tried that but it won't work, so I
am wondering what is th way to do that when using own synths. Looking below
the error trace from Tidal post window says that Tidal is agnostic about
scfm synth arguments.
-> Variable not in scope: modratio :: [Char] -> ParamPattern
:1424:52: error:
=================td=========code=========
d2 $ sound "scfm" # sustain "0.1" # modratio "2" # freq "2000"
=================sc========code==========
SynthDef(\scfm, {
|freq=200, atk=0.01, decay=0.3, sustain=0.4, rel=0.1
carratio=1,modratio=1, modindex=1,
amp=0.2, gate=1, outBus=0|
var env = EnvGen.kr(Env.adsr(atk, decay, sustain, rel), gate,
doneAction:2);
var mod = SinOsc.ar(freq * modratio);
var car = SinOsc.ar(freq * carratio + (1 + (mod *modindex)), 0) * amp *
env;
OffsetOut.ar(0, car ! 2);
}).add;
*Save our in-boxes! *http://emailcharter.org