commit c83c637bb41372512d77d7153026470c8cd06b28
parent d31fadaa431b331e68027618f7b88c3642cb8119
Author: Matthew Gantenbein <ganten1998@gmail.com>
Date: Mon, 1 Jun 2026 10:50:50 -0500
tune: hotter input meters — -48dB window, amber@-18 red@-6
Narrowed the inputs meter window from -60 to -48 dBFS so program material
fills more of the bar, and moved color thresholds to DAW-typical points
(amber ~-18, red ~-6). dB calibration (METER_FULL_SCALE) unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat:
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/valentine/src/panels/inputs.rs b/valentine/src/panels/inputs.rs
@@ -144,8 +144,9 @@ fn row_label(sources: &[Source], row: Row) -> String {
}
}
-/// Bottom of the meter bar's dB range (top is 0 dBFS). A DAW-like VU window.
-const METER_DB_MIN: f32 = -60.0;
+/// Bottom of the meter bar's dB range (top is 0 dBFS). A DAW-like VU window —
+/// −48 dB so normal program material fills a useful amount of the bar.
+const METER_DB_MIN: f32 = -48.0;
/// A dBFS level bar: maps `db` (≤0) across a -60..0 window, coloured by level.
fn meter_cell(theme: &Theme, db: f32, width: usize) -> Span<'static> {
diff --git a/valentine/src/theme.rs b/valentine/src/theme.rs
@@ -107,11 +107,13 @@ impl Theme {
Self::default()
}
- /// Pick a meter color for a 0.0..=1.0 normalized level.
+ /// Pick a meter color for a 0.0..=1.0 normalized level. Thresholds chosen so
+ /// that on the inputs panel's −48..0 dB window, amber starts ≈ −18 dBFS and
+ /// red ≈ −6 dBFS — close to a typical DAW VU.
pub fn meter_color(&self, level: f32) -> Color {
- if level >= 0.95 {
+ if level >= 0.875 {
self.meter_high
- } else if level >= 0.70 {
+ } else if level >= 0.625 {
self.meter_mid
} else {
self.meter_low