Skip to viewer

Mains Frequency Estimator

Harmonics-aware, EMA averaging (up to 60s), and a 5s warm-up gate before decisions. **Prefers 2× (100/120 Hz) over fundamentals** to handle mic high-pass filtering.
Audioidle Sample rate Block/Hop Update CPU
Warm-up 5s Warm-up progress 0.0s
Decision is withheld until at least 5.0s of analyzed frames accumulate. After that, the classifier uses EMA-smoothed evidence where the 1st harmonic (2×) is weighted above the fundamental.
Decision
Confidence
Quality
50 Hz series
60 Hz series
Spectrum bars
Thick = fundamental; thin = harmonics; faint = detected peak offset
50-score (avg)
60-score (avg)
50 Hz evidence
HarmHzdB*ConfAvg
60 Hz evidence
HarmHzdB*ConfAvg
Weights emphasize the 1st harmonic (2×) over the fundamental. Useful when microphones attenuate 50/60 Hz.