Hi again Juicers,
I’m rewriting my vst to fit some needs and I encountered this problem:
in luce plugin demo the delayBuffer is set to 1, 12000.
And in the for getnumsamples loop to process buffers, I have a buffer size of 512, so I get noise when I launch my vst in Cubase…
How can I fix this issue?
void AudioProcessor::prepareToPlay (double sampleRate, int samplesPerBlock)
{
// Prepare chains
baseProcessChain.prepare(preset.preset01);// Allocating Buffers if (isUsingDoublePrecision()) { delayBufferDouble.setSize (2, 12000); delayBufferFloat.setSize (1, 1); } else { delayBufferFloat.setSize(2, 12000); delayBufferDouble.setSize(1, 1); } reset();
}
I’ve tried to set the buffer size here to 512, and the result is that the buffer has a size of 256…
PS. Use or not to use the double precision in a vst?