Language: English

tools / mic-test

mic-test/

Check whether your microphone picks up sound, whether the level is high enough, and whether it distorts, then record a clip and play it back right away. Audio is processed in your browser only, never uploaded or saved.

Microphone not on yet

After you click “Start test”, the browser will ask whether to allow microphone use.

Level

dBFS
RMS—
Peak—
Highest peak—
Clips—

Waveform

Spectrum

Device

Name—
Sample rate—
Channels—
Echo cancellation—
Noise suppression—
Auto gain—

Record & playback

Click “Start test” to turn the microphone on before recording and playing back.

What is a microphone test

A microphone test gets the microphone’s sound with getUserMedia and computes the level from 2048 samples per frame. This page shows the average level and the peak in dBFS, flags clipping when a sample reaches 0.999, and can record up to 10 seconds to play back right away.

How it works

The browser gets the microphone’s audio stream through getUserMedia and passes it to a Web Audio AnalyserNode. Each frame takes 2048 samples (each between −1 and 1). RMS is the square root of the mean of the squared samples and represents the average loudness; the peak is the sample with the largest absolute value. Both are converted to dBFS: 20 × log10(value). Full scale 1.0 is 0 dBFS, smaller values are more negative, and complete silence shows −∞. If any sample reaches an absolute value of 0.999, the frame counts as clipped and the sound is distorted.

Example: a full-scale sine wave has a peak of 0.0 dBFS and an RMS of −3.0 dBFS (1 ÷ √2 ≈ 0.707); at an amplitude of 0.1, the peak is −20.0 dBFS and the RMS is −23.0 dBFS. The level bar runs from −60 dBFS to 0; the thick bar is the RMS and the thin line is the peak over the last 1.5 seconds.

Recording uses MediaRecorder to capture compressed audio, which is then decoded into samples and played with Web Audio. All of it stays in this page’s memory.

FAQ

Nothing happens when I click Start, or it says microphone permission was denied

Look at the permission icon at the left of the address bar and set the microphone to Allow, then click “Start test”. If that is not enough, open the privacy or permissions section of your system settings and make sure this browser is allowed to use the microphone. If the message says the microphone is in use, close meeting or recording software that is using it and try again.

The level bar does not move, or always shows −∞

−∞ means everything received is 0, that is, there is no sound at all. Check, in order: the mute button on the microphone or the headset inline control; if you have several input devices, pick another one under “Input device” (device names are only listed after permission is granted); and whether the input volume in your system settings has been turned all the way down. After switching devices, go by the name shown on the right.

What are echo cancellation, noise suppression and auto gain, and why are some switches missing?

These three are processing the browser applies before it hands the sound to the page: echo cancellation removes sound from the speakers that leaks into the microphone, noise suppression reduces steady background noise, and auto gain evens out a volume that swings up and down. A switch is shown only when the browser reports that feature. Toggling one reopens the microphone, and the right-hand side shows the state the browser actually applied; if it differs from the checkbox, go by the right-hand side.

How long can a recording be, and is it saved?

Each recording lasts up to 10 seconds and stops automatically; you can also click “Stop recording” earlier. The recording stays only in this page’s memory: it is not saved to your computer and cannot be downloaded. Clicking “Stop”, switching to another tab or closing the page discards it, and recording again overwrites the previous one. Changing the input device or a processing switch while recording also discards the recording, and the page tells you to record again.

Playback sounds different from usual: muffled, or the volume goes up and down

Playback is the sound after the browser’s processing. With noise suppression and auto gain on, background sound is pushed down and the volume is evened out, so it can sound muffled or uneven. To hear the microphone’s original sound, turn those switches off and record another clip to compare. The recording is also compressed once, so it has somewhat less detail than the original.

What does the clip count mean, and does it matter if it keeps rising?

As soon as one frame has a sample with an absolute value of 0.999 or more, it counts as clipping and the right end of the level bar turns red. The count goes by time: continuous clipping counts once, and a new clip is counted only after more than 0.1 seconds without clipping, so it doesn’t depend on the screen’s refresh rate. Clipping means the sound exceeded the upper limit a digital signal can represent, so the recording will be distorted. If the number keeps rising, turn down the input volume in your system, move farther from the microphone, or speak more quietly.

Is my audio uploaded, and how can I confirm the microphone is off?

No. The sound is used only inside the browser to calculate level and spectrum; neither the audio nor the readings are sent over the network or written to browser storage. When you click “Stop”, switch to the background or leave the page, the page closes the microphone’s audio track. You can confirm by checking the microphone icon on the browser tab or address bar; if it is still lit, another tab or program is using the microphone.