Skip to content

Commit

Permalink
0-12kHz
Browse files Browse the repository at this point in the history
  • Loading branch information
BlinkyStitt committed Apr 27, 2024
1 parent cb95e6b commit 1cc83af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions musical-leptos/src/components/dancing_lights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ const FFT_INPUTS: usize = 2048;
/// bark scale has 24 bands, but we want more
const NUM_BANDS: usize = 120;

/// TODO: this range is way too wide
/// TODO: 0-20kHz is way too wide
const MIN_FREQ: f32 = 0.0;
const MAX_FREQ: f32 = 20_000.0;
const MAX_FREQ: f32 = 12_000.0;

/// maximum rate at which the visual loudness can decrease
const DOWN_RATE: f32 = 0.0045;
Expand Down

0 comments on commit 1cc83af

Please sign in to comment.