Smoothing factor when the level is rising, 0..1 (higher = snappier). Default 0.6.
Smoothing factor when the level is falling, 0..1 (lower = slower fall). Default 0.18.
Folds the latest raw level into the smoothed state and returns the current frame.
The latest raw audio level, 0..1.
The smoothed meter frame.
Resets the meter to silence.
Exponential-smoothing audio meter. Attack (rising) is faster than decay (falling) so the meter feels responsive when speech starts but settles gently — the standard VU-meter feel.