commit 76605fef68335ea4592add41462105579c6ad055
parent 851a9a4969ca021d82a14b4ec542ac064435923b
Author: jatinchowdhury18 <jatinchowdhury18@gmail.com>
Date: Mon, 15 Mar 2021 19:10:18 -0700
Use 5th order Lagrange interpolation for latency compensation delay line (#159)
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Plugin/Source/PluginProcessor.h b/Plugin/Source/PluginProcessor.h
@@ -76,6 +76,8 @@ public:
const AudioProcessorValueTreeState& getVTS() { return vts; }
private:
+ using DryDelayType = chowdsp::DelayLine<float, chowdsp::DelayLineInterpolationTypes::Lagrange5th>;
+
AudioProcessorValueTreeState::ParameterLayout createParameterLayout();
void latencyCompensation();
@@ -90,7 +92,7 @@ private:
LossFilter lossFilter;
WowFlutterProcessor flutter;
DryWetProcessor dryWet;
- dsp::DelayLine<float, dsp::DelayLineInterpolationTypes::Lagrange3rd> dryDelay { 1 << 21 };
+ DryDelayType dryDelay { 1 << 21 };
GainProcessor outGain;
OnOffManager onOffManager;