silence in the buffers to avoid 'switch on pop', which can be a bit loud although super realistic

This commit is contained in:
Gordon JC Pearce 2024-08-24 20:53:16 +01:00
parent 23ef788b81
commit 98df0d307d

View File

@ -25,7 +25,8 @@ BarrVerb::BarrVerb() : Plugin(kParameterCount, 64, 0) { // one parameter, 64 pr
lowpass = new float[getBufferSize()]; lowpass = new float[getBufferSize()];
ram = new int16_t[16384]; ram = new int16_t[16384];
loadProgram(20); bzero(lowpass, sizeof(float) * getBufferSize());
bzero(ram, sizeof(int16_t) * 16384);
/* /*
// calculate SVF params // calculate SVF params