Revert per-sample parameter smoothing; caused filter hiss/edginess and broke MIDI CC mapping

This commit is contained in:
Armin 2026-09-08 16:37:33 +02:00
commit 43e90ca448
4 changed files with 18 additions and 77 deletions

View file

@ -45,7 +45,6 @@ int getPatchIndex() const noexcept { return patchIndex; }
private:
void processMidi (juce::MidiBuffer&, const VParams&);
void smoothGain (juce::AudioBuffer<float>& buffer, float targetVol);
juce::AudioProcessorValueTreeState::ParameterLayout createParams();
@ -59,7 +58,6 @@ private:
juce::uint32 lastMidi = 0;
float cpu = 0.0f;
float dcL = 0.0f, dcR = 0.0f, dcPrevL = 0.0f, dcPrevR = 0.0f;
float volSmooth = 1.0f;
juce::AudioBuffer<float> osBuf; // internal 2x oversample target (HQ mode)
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (RMX19AudioProcessor)