From e2153d5cec5dcaab9326e91c3561913245860119 Mon Sep 17 00:00:00 2001 From: Lily Date: Tue, 18 Jun 2024 10:35:54 -0500 Subject: [PATCH] fix fade length zero division --- plugins/GranularPitchShifter/GranularPitchShifterControls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GranularPitchShifter/GranularPitchShifterControls.cpp b/plugins/GranularPitchShifter/GranularPitchShifterControls.cpp index 86013556198..0f98570d70a 100755 --- a/plugins/GranularPitchShifter/GranularPitchShifterControls.cpp +++ b/plugins/GranularPitchShifter/GranularPitchShifterControls.cpp @@ -41,7 +41,7 @@ GranularPitchShifterControls::GranularPitchShifterControls(GranularPitchShifterE m_pitchSpreadModel(0.f, -24.f, 24.f, 0.01f, this, tr("Pitch Stereo Spread")), m_spraySpreadModel(0.f, 0.f, 1.f, 0.0001f, this, tr("Spray Stereo")), m_shapeModel(2.f, 1.f, 2.f, 0.0001f, this, tr("Shape")), - m_fadeLengthModel(1.f, 0.f, 1.f, 0.00001f, this, tr("Fade Length")), + m_fadeLengthModel(1.f, 0.001f, 1.f, 0.00001f, this, tr("Fade Length")), m_feedbackModel(0.f, 0.f, 1.f, 0.00001f, this, tr("Feedback")), m_minLatencyModel(0.01f, 0.f, 1.f, 0.00001f, this, tr("Minimum Allowed Latency")), m_prefilterModel(true, this, tr("Prefilter")),