Hi, I’m using Eli Fieldsteel’s reverb synthDef. At the beginning of the session, I assign it to a bus. However, if no signal is running through it, the CPU will eventually climb causing spikes and dropouts. What are the recommendations for this?
Thank you, MJ
(
~reverb = Synth.tail(s,\reverb,[\in,~rb]);
~createReverb = ({~reverb = Synth.tail(s,\reverb,[\in,~rb])});
ServerTree.add(~createReverb);
~rb = Bus.audio(s,2);
~rb.index;
)
SynthDef(
\reverb,
{
arg in, predelay = 0.05, revtime = 8, mix=0.25, amp=1;
var dry, wet, temp,sig;
dry = In.ar(in,2);
temp = In.ar(in,2);
wet = 0;
temp = DelayN.ar(temp, 0.2,predelay);
16.do{
temp = AllpassC.ar(temp, 0.05,{rrand(0.001,0.05)}!2,revtime);
temp = LPF.ar(temp, \lpf.kr(7000));
wet = wet + temp;
};
sig = XFade2.ar(dry,wet,mix*2-1,amp);
Out.ar(0,sig);
}).writeDefFile;