Enhance buzzer detection logic to group intermittent matches with a 500 ms quiet tail, updating relevant configurations and documentation.
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ typedef struct {
|
||||
float min_rms; // loudness gate (int16 RMS); quieter frames never match
|
||||
uint32_t win_n; // sliding window length (frames), 1..32
|
||||
uint32_t win_m; // matches needed inside the window, 1..win_n
|
||||
uint32_t cooldown_ms; // quiet period after an alert
|
||||
uint32_t cooldown_ms; // quiet tail that groups matches into one buzz event
|
||||
float noise_mult; // learn/adapt gate = noise floor * this
|
||||
float adapt_weight; // weight of the NEW template in `adapt` (0..1)
|
||||
uint32_t monitor_ms; // min interval between `monitor` lines
|
||||
|
||||
Reference in New Issue
Block a user