Language: English

tools / sound-test

sound-test/

Check whether the left and right channels of your speakers or headphones are swapped, whether they can reproduce high and low tones, and play a tone at a specific frequency. Sound is generated in your browser; nothing is recorded and no device information is read.

Turn the system volume down before pressing Play, especially with headphones.

Stopped

Left / right channels

440 Hz × 3

Frequency sweep

20 Hz – 20 kHz
20.0 Hz

Specific frequency

Hz
Hz

What is a speaker test

A speaker test plays known sounds on a device to check its output. This page generates 20 to 20000 Hz tones live with the Web Audio OscillatorNode, can send sound to only the left or right channel to catch swapped sides, runs a logarithmic sweep, and fades in and out over 15 ms at each start and stop.

How it works

The sound is generated in real time in your browser by a Web Audio OscillatorNode and sent through a gain node to the system's default output device. The left and right channels are separated with a ChannelMergerNode: when testing the left channel, the sound is connected only to the left input and the right input receives nothing, so its output is 0. If sound still comes from the other side, the cause is in the system settings, the cable or the device. The sweep is logarithmic: the frequency is multiplied by the same factor in equal amounts of time, so low and high tones each get the same duration. Every start and stop has a 15 ms fade in or out to avoid a click.

Example: with a 20-second sweep, second 10 is 632 Hz (20 × 1000 to the power of 0.5), and the pitch rises by about one octave every 2.0 seconds. The volume slider is converted to gain by squaring: the default 25% is 0.03125, about −30.1 dBFS; at 100% it is 0.5, about −6.0 dBFS.

FAQ

The left and right channels sound the same and both sides play. What should I do?

On this page, the right input of the left-channel test is strictly 0, so sound on both sides means it was later mixed down to mono. Check in this order: whether you are using a phone or laptop with only one speaker; whether Bluetooth headphones are in call (hands-free) mode; and whether "Mono audio" is turned on in the system accessibility settings. Comparing with a pair of wired headphones helps you tell whether the device or the system settings are at fault.

The left channel plays on the right side. What if left and right are reversed?

First check whether the L and R markings on the headphones are worn the wrong way round, then whether the speakers are placed the wrong way or the cables plugged in reversed. If all of that is fine, check whether the sound card driver or the system audio settings swap the channels. On this page, the left channel is always connected to output 1 (left) and never changes with the device.

I can't hear anything at the high or low end of the frequency sweep. Is it broken?

Not necessarily. The sweep runs from 20 Hz to 20,000 Hz, the two ends of the commonly cited range of human hearing. Many people can't hear the very top of it, and the older you are, the more noticeable that is; small speakers in phones and laptops usually can't reproduce very low tones. A range you can't hear doesn't mean the device is broken. To compare properly, sweep again with the same headphones on another device, or with the same device and another pair of headphones.

Why is the default volume so low, and how loud can it get?

The default is 25%, a gain of 0.03125, about −30.1 dBFS; the maximum, 100%, is 0.5, about −6.0 dBFS, so it is never pushed to full scale. Square and sawtooth waves sound harsher, so the page lowers them by a further 6 dB. How loud it actually is also depends on the system volume and the device, so turn the system volume down first and raise it slowly.

What's the difference between sine, square, sawtooth and triangle waves?

A sine wave contains a single frequency, which makes it best for checking whether a given frequency can be reproduced and whether there is any noise. Square and sawtooth waves carry many high harmonics and sound sharp and harsh, which suits listening for distortion in a speaker under complex sounds. A triangle wave sits between the two and is slightly brighter than a sine wave.

What if there's no sound after I press Play?

Check in this order: the system volume and mute; whether the browser tab has been muted; and whether the system's current output device is the one you want to test. This page cannot choose an output device and only uses the system default output. If only one side is silent or much quieter, check whether the system left-right balance is pushed to one side.

Does this page record audio or read my devices?

No. The page only plays sound: it doesn't request the microphone, doesn't read the name or model of the output device, and doesn't save any settings. Sound is generated in your browser, and it stops automatically when you switch to another tab or leave the page.