I was mostly talking about wet dry processing in general
Most of the time I am sequencing with Pdefs ,
Synthdef (for synth ) has one Out.ar with a bus effect argument , another output Out.ar to main output , thus arg 0
When sequencing the synthdef from Pbind ,\out,~effectsbus , the other Out.ar in the synthdef itself provides the dry signal and no need to add this one in thePbind .
So far it’s working o.k. , just asking what the preferred method is
(
SynthDef(\layla,
{|mdt=0.250,dt=0.10,dect=0.1,modspeed=0.5,modamt=0.01,hpf=100,in|
var sig ,modulator;
sig=In.ar(in,2);
modulator=SinOsc.ar(modspeed)*modamt;
sig=CombC.ar(sig,mdt,dt+modulator,dect);
sig=HPF.ar(sig,hpf);
Out.ar(0,sig)
}).add)
~comber=Synth(\layla,[\in,~speak,\mdt,0.5,\dt,0.01 ,\dect,0.8 ,\modspeed,0.8,\modamt,0.001,\hpf,100])
~comber.free
~comber.set(\mdt,0.5,\dt,0.01 ,\dect,0.8 ,\modspeed,0.8,\modamt,0.001,\hpf,100)//comber
~comber.set(\mdt,0.5,\dt,0.450 ,\dect,10 ,\modspeed,0.01,\modamt,0.001,\hpf,100)// long delay
//
~speak=Bus.audio(s,2)
~speak.free
~speak
////
(
SynthDef (\simple,
{
|att=0.001,dec=0.200,mod=500,pitch=0,filterfreq=400,reso=0.5,vol=0.5,pan=0,out|
var sig,env;
env=EnvGen.ar(Env([0,1,0],[att,dec],[0,-5]),doneAction:2);
sig=Pulse.ar(pitch.midicps,mul:0.5)+Saw.ar((pitch+12.1).midicps,mul:0.5);///////I an
sig=RLPF.ar(sig,filterfreq+(env*mod).clip(40,20000),rq:reso);
sig=sig*env;
sig=Pan2.ar(sig,pos:pan);
Out.ar(out,sig*vol);//to effects bus ~speak
Out.ar(0,sig*vol);//to main out
}).add
)
///////
(
Pdef(\zxcv,
Pbind(\instrument,\simple,
\dur,Pseq([4,4,4,4],inf),
\pitch,Pseq([
Pseq([[60,65,72]],4),
Pseq([[63,65,67]],4)-3,
Pseq([[60,69,65]],4)-7,
Pseq([[53,60,67]],4)+2],inf),
\filterfreq,Prand([400,440,600,400,2000,400,900,350,3000],inf),
\dec,Prand([2,3,4],inf),
\att,Pwhite(1.5,3,inf),
\reso,Pseq([1,0.5,0.7],inf),
\vol,Pseq([0.1,0.2],inf),
\pan,Pseq([-0.3,1,0,0.3,1],inf),
\out,~speak,
)
))
/////////
t=TempoClock(124/60).permanent_(true)
Pdef(\zxcv).play(t);
Pdef(\zxcv).stop;
/////////////