Skip to content

Commit

Permalink
LOMM allpass samplerate update
Browse files Browse the repository at this point in the history
  • Loading branch information
LostRobotMusic authored Jan 4, 2024
1 parent 64a2d2e commit 6d91245
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions plugins/LOMM/LOMM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ void LOMMEffect::changeSampleRate()
m_lp2.setSampleRate(m_sampleRate);
m_hp1.setSampleRate(m_sampleRate);
m_hp2.setSampleRate(m_sampleRate);
m_ap.setSampleRate(m_sampleRate);

m_coeffPrecalc = -2.2f / (m_sampleRate * 0.001f);
m_needsUpdate = true;
Expand All @@ -98,16 +99,6 @@ void LOMMEffect::changeSampleRate()
}
}

void LOMMEffect::clearFilterHistories()
{
m_lp1.clearHistory();
m_lp2.clearHistory();
m_hp1.clearHistory();
m_hp2.clearHistory();
}




bool LOMMEffect::processAudioBuffer(sampleFrame* buf, const fpp_t frames)
{
Expand Down

0 comments on commit 6d91245

Please sign in to comment.