Skip to content

Commit

Permalink
fix fade length zero division
Browse files Browse the repository at this point in the history
  • Loading branch information
LostRobotMusic committed Jun 18, 2024
1 parent 9e667a1 commit e2153d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
Expand Down

0 comments on commit e2153d5

Please sign in to comment.