Keyboard Sound Analyzer
Start listening, then press a key near your microphone. FFT classifies the sound as linear, tactile, or clicky.
Input level
— dB
How to use
- Click Start listening and allow microphone access when the browser prompts.
- When the waveform is live, press keys near your mic — each loud hit triggers an FFT classification when the RMS crosses the capture threshold.
- Read Switch classification, explanatory tip, peak frequency, and level.
- Click Stop listening to end microphone capture and release audio resources.
- Use Reset to clear the last result and prepare for another capture session.
FAQ
Is audio uploaded?
No. Audio is processed locally via Web Audio / AnalyserNode; nothing is sent to a server.
Why is my classification wrong?
Room noise, desk resonance, microphone quality, and loose stabilizers shift peaks — use single clean presses and retest.
Do I need a special mic?
Any laptop or headset mic works for a rough classification; results are indicative, not lab-grade.
Introduction
Keyboard Sound Analyzer listens through your microphone, measures level, draws a live waveform, and when a press is loud enough estimates a frequency peak to label the sound as broadly linear (thock), tactile, or clicky.
Purpose
- Quick, fun comparison between switches or keyboards.
- Educational preview of how tonal peaks differ by switch type.
Key Features
- Browser microphone capture with live waveform and input level meter.
- Heuristic FFT peak → Linear / Tactile / Clicky labels plus descriptive tips.
- Reset clears the last classification without a page reload.
Common Use Cases
- Hobbyist switch comparison streams or Discord “what switch is this?” clips.
- Teaching students how different stems change dominant frequencies.
Best Practices
- Test in a quiet room, mic a few centimeters above the switch, single firm presses only.
- Treat output as indicative — room modes and cheap mics skew peaks.
Comparison metrics
| Output | Notes |
|---|---|
| Peak Hz | Dominant FFT bin converted to frequency — compare same mic distance and environment. |
| Classification band | Rules of thumb: low peak ≈ linear profile, mid ≈ tactile, high ≈ clicky (see on-screen tips). |
| Level meter | Confirms the mic actually hears the key before trusting a capture. |
This is a heuristic demo, not a replacement for acoustic measurement gear.