For an explicit creation of control names see: NamedControl, Control
Default value of this control. Will be an Array for multichannel controls.
The ControlSpec for this control. If set, it will be added to the specs metadata for the current SynthDef.at
(
d = SynthDef(\tone, { |out = 0, freq = 200|
var sig;
freq.spec = ControlSpec(20, 20000);
sig = SinOsc.ar(freq);
Out.ar(out, sig);
}).add;
)
d.specs.freq.postln;
xxxxxxxxxx
a = SynthDescLib.global; // the global library of SynthDescs
x = a.synthDescs.at(\default); // get the default SynthDesc
x.controls.do { |ctl| [\name, ctl.name, \defaultValue, ctl.defaultValue].postln };"";