I created an argument \ ouptputcontrol to control the output of a synthdef , on the last line of the SynthGen grap function
Somehow it ain’t working in the set message , no error in console either
Any help is appreciated
(
SynthDef (\hurry,
{ arg freq=88,detunemin=10,detunemax=200,outputvol=1;
q=Array.fill(16,{SinOscFB.ar(freq+MouseX.kr(detunemin ,detunemax,1).rand,feedback:MouseY.kr(0.3,0.9,1))})*1/8;
r=Splay.ar(q,4);
t=HPF.ar(r,100);
Out.ar(0,t)*outputvol;
}).add
)
~ward=Synth (\hurry);
~ward.free;
~ward.set(\freq,30.midicps);//midinotevalue
~ward.set(\outputvol,0.5);////not working
~ward.set(\detunemin,100);
~ward.set(\detunemax,1000);
~ward.set(\detunemin,20);
~ward.set(\detunemax,50);
~ward.set(\detunemin,20);
~ward.set(\detunemax,150);
//////////////////////