Skip to content

Commit

Permalink
fix: quality factor should have 0.01 increments
Browse files Browse the repository at this point in the history
  • Loading branch information
mttbernardini committed May 7, 2024
1 parent 5b46fa9 commit 9998900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FrequalizerProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static juce::AudioProcessorValueTreeState::ParameterLayout createParameterLayout

auto qltyParameter = std::make_unique<juce::AudioParameterFloat> (FrequalizerAudioProcessor::getQualityParamName (i),
prefix + TRANS ("Quality"),
juce::NormalisableRange<float> {0.1f, 10.0f, 1.0f, std::log (0.5f) / std::log (0.9f / 9.9f)},
juce::NormalisableRange<float> {0.1f, 10.0f, 0.01f, std::log (0.5f) / std::log (0.9f / 9.9f)},
defaults [i].quality,
juce::String(),
juce::AudioProcessorParameter::genericParameter,
Expand Down

0 comments on commit 9998900

Please sign in to comment.