Hi! Kinda new to TC so please direct me to the proper documentation if this has been gone over somewhere else.
I'm writing a simple FM synth in SC and I can't find a neat way control it from TC.
I can send patterns via the freq parameter to modulate
the carrier frequency but id like to able to do the same with the mod freq and mod amp.
To my understanding TC has a limited collection of parameter names and most of em seems to be sending floating point and having some other function associated with them.
Am I missing something or is there a workaround for this like adding a new parameter or something?
This is what I am working with:
SynthDef.new(\FMtest, {
|out, pan, freq=500, modHz=300, modAmp=400|
var car, mod;
mod = SinOsc.ar(modHz, mul:modAmp);
car = SinOsc.ar(freq + mod) * 0.2!2;
OffsetOut.ar(out, DirtPan.ar (car, ~dirt.numChannels,pan));
}) .add;
Like I said, I'm a newbie with TC, SuperCollider and coding in general so please excuse my ignorance.