Skip to content

Commit

Permalink
fix(eq match optimizer): fix freq log bound
Browse files Browse the repository at this point in the history
  • Loading branch information
zsliu98 committed Dec 16, 2024
1 parent e0782e5 commit be5bd42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dsp/eq_match/eq_match_optimizer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace zlEqMatch {
class EqMatchOptimizer final {
public:
static constexpr double eps = 1e-3;
static constexpr double minFreqLog = 2.302585092994046, maxFreqLog = 9.998797732340453;
static constexpr double minFreqLog = 2.3026, maxFreqLog = 9.9034;
static constexpr double minGain = -15.0, maxGain = 15.0, gainScale = .3;
static constexpr double minQLog = -2.3025850929940455, maxQLog = 2.302585092994046;
static constexpr std::array<double, 3> lowerBound{minFreqLog, minGain * gainScale, minQLog};
Expand Down

0 comments on commit be5bd42

Please sign in to comment.