Skip to main content

Module problems

Module problems 

Source
Expand description

Diagnostics (analyze problems): each detector returns a Problem with a severity, a plain-language explanation, and a suggested fix that is a runnable command or fx stage string.

Structs§

HumInfo
Mains hum found by detect_hum.
NoiseFloor
Quiet-passage noise floor estimates.
Problem
One diagnosed problem.
ProblemsReport
Result of diagnose.
SeverityCounts
Count of problems per severity.
Sibilance
Sibilance estimate: share of loud frames dominated by 5–10 kHz energy.

Enums§

Severity
How much a problem matters.

Functions§

dc_offsets
Mean value of each channel.
detect_clicks
Times (seconds) of isolated clicks: samples whose second difference exceeds ten times the local RMS of the second difference (±128 samples) and an absolute floor.
detect_hum
Look for narrow peaks at 50 or 60 Hz and their first 8 harmonics.
diagnose
Run every detector and collect the problems found.
noise_floor
Estimate hiss and broadband noise floor from the quietest frames.
sibilance
Measure sibilance (requires a sample rate of at least 22.05 kHz).