Skip to content

Commit

Permalink
Reduce overlap of mid with low/high filter bands
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Jan 22, 2024
1 parent 5dd76a0 commit c2d22e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const DEFAULT_LOW_LP_FILTER_HZ: f32 = 200.0;
/// Crossover low/mid (low pass)
///
/// Overlapping mids with lows.
const DEFAULT_LOW_HP_FILTER_HZ: f32 = DEFAULT_LOW_LP_FILTER_HZ / 2.0;
const DEFAULT_LOW_HP_FILTER_HZ: f32 = DEFAULT_LOW_LP_FILTER_HZ * 0.75;

/// Crossover mid/high (low pass)
///
Expand All @@ -38,7 +38,7 @@ const DEFAULT_HIGH_LP_FILTER_HZ: f32 = 1600.0;
/// Crossover mid/high (high pass)
///
/// Overlapping highs with mids.
const DEFAULT_HIGH_HP_FILTER_HZ: f32 = DEFAULT_HIGH_LP_FILTER_HZ / 2.0;
const DEFAULT_HIGH_HP_FILTER_HZ: f32 = DEFAULT_HIGH_LP_FILTER_HZ * 0.75;

#[derive(Debug, Clone, PartialEq)]
pub struct ThreeBandFilterFreqConfig {
Expand Down

0 comments on commit c2d22e1

Please sign in to comment.