I am having an issue with the oversampling affecting the tone of my audio, even without the oversampler actually processing the samples. It seems the initialization itself is causing this. Mainly, it’s reducing a lot of the presence and/or high frequency content of an electric guitar, which may be the result of some kind of new lack of amplitude in the signal, resulting in less drive into my distortion stages.
Has anyone had any issues with this before, and if so, how can they be taken care of?
I’m initializing the oversampler like so:
// in the constructor
oversample (numChannels, factor,
juce::dsp::Oversampling<float>::FilterType::filterHalfBandPolyphaseIIR,
true)
// prepareToPlay
oversample.clearOversamplingStages();
oversample.addOversamplingStage(juce::dsp::Oversampling<float>::
FilterType::filterHalfBandPolyphaseIIR, 0.2f, -75.f, 0.2f, -75.f);
oversample.initProcessing(samplesPerBlock);
oversample.reset();
If I remove the above code, the tone returns to its expected character.
