How does discrete stereo routing isolate left and right speakers?
This browser speaker test builds a two-channel synthesis graph inside an AudioContext so left and right speakers or headphones receive exact signals without streaming compression. Every preset runs locally in tab memory, letting you check wiring and balance with zero extra software.
Under the W3C Web Audio API 1.1 specification, createChannelMerger(2) maps two independent GainNode outputs directly onto channels 0 and 1. Discrete gain routing sets the silent channel strictly to zero (L = 100%, R = 0% or L = 0%, R = 100%) while supporting signed negative multipliers for polarity inversion.
Distinct pitches for left and right ear checks
Clicking Left speaker plays a 440 Hz sine (A4) for 2.5 seconds on the left channel, while Right speaker plays 523.25 Hz (C5) for 2.5 seconds on the right. Two distinct pitches make swapped cables or flipped earbuds obvious right away.
Selecting Center (both in phase) drives both drivers equally at 0.85 amplitude on 440 Hz for 2.5 seconds. On properly wired stereo monitors, that shared signal locks directly between both speakers.
Ramping gain envelopes to stop clicks and pops
Cutting an oscillator mid-cycle creates audible pops that mask subtle distortion. Playback ramps up over 20 ms to your Test volume level (10% to 90%, 45% default) and fades out across 30 ms before disconnecting nodes 80 ms after completion.
Clicking Stop audio halts active nodes right away if output feels too loud. For continuous custom pitches beyond these clips, play exact Hz sine waves and noise bursts up to 20,000 Hz.
In-phase vs out-of-phase audio and stereo polarity checks
Reversing positive (+) and negative (-) wires on one passive speaker pushes one cone out while the other pulls in. That 180-degree cancellation hollows out center vocals and weakens bass.
When comparing panning against the MDN Web StereoPannerNode Reference, standard panners cannot invert a single channel cleanly to -1. Separate gain nodes let Phase polarity check apply +0.85 left and -0.85 (R = -L) right simultaneously.
Listening for hollow cancellation on pink noise
Pure sine tones can sound ambiguous out of phase indoors because standing waves shift apparent level as you move. Phase polarity check instead plays 3 seconds of pink noise from a deterministic PRNG (0x9e3779b9) through a seven-stage Paul Kellet -3 dB-per-octave filter.
- Healthy wiring: Center (both in phase) locks tightly between monitors, whereas Phase polarity check sounds wide and noticeably hollow in the middle.
- Reversed polarity: If Phase polarity check focuses the image while Center (both in phase) feels hollow, swap the red and black wires on one speaker only.
Comparing all six diagnostic test presets
Each button in the Speaker test grid targets a specific wiring, polarity, or response check. Review exact preset parameters in the table before testing or exporting clips.
| Preset button | Signal type | Channel routing | Duration | Primary diagnostic check |
|---|---|---|---|---|
| Left speaker | 440 Hz sine (A4) |
L = 100%, R = 0% |
2.5 seconds |
Confirms left channel identity and zero cross-talk |
| Center (both in phase) | 440 Hz sine (A4) |
L = 0.85, R = 0.85 |
2.5 seconds |
Verifies centered phantom image and matched volume |
| Right speaker | 523.25 Hz sine (C5) |
L = 0%, R = 100% |
2.5 seconds |
Confirms right channel identity using a higher pitch |
| Phase polarity check | Pink noise (-3 dB/oct) |
L = 0.85, R = -0.85 |
3 seconds |
Exposes swapped +/- speaker cables via cancellation |
| Bass sweep (20-160 Hz) | Logarithmic sine sweep | Both in phase | 5 seconds |
Reveals subwoofer gaps, port chuffing, and buzzes |
| Full sweep (20-16,000 Hz) | Logarithmic sine sweep | Both in phase | 8 seconds |
Tracks left/right image drift and tweeter roll-off |
If your speakers pass channel separation checks during a headset setup, test the attached mic next with a raw un-suppressed microphone input check in another tab. Verifying playback and capture independently prevents browser echo-cancellation filters from hiding hardware faults.
Running a bass sweep from 20 to 160 Hz and saving WAV clips
Static single tones miss narrow resonant peaks where a desk panel rattles or a crossover drops mid-bass energy. Exponential frequency sweeping glides continuously across frequencies so defective enclosures and room modes stand out clearly.
Diagnosing subwoofer crossovers and cabinet rattles
Bass sweep (20-160 Hz) sweeps exponentially over 5 seconds (exponentialRampToValueAtTime), spending equal time on every musical octave rather than rushing past deep notes. Small laptop drivers typically vanish below 80 Hz, while healthy subwoofers should transition smoothly through the 80 Hz to 120 Hz crossover region without sudden dips or cabinet buzz.
Full sweep (20-16,000 Hz) runs for 8 seconds across nearly ten octaves. Focus on whether the phantom center wanders left or right as pitch climbs, which exposes mismatched tweeters or clogged earbud grilles, and verify mechanical keycaps when audio alerts misfire if muted system keys affect playback shortcuts.
Exporting 48 kHz 16-bit PCM files with Download test WAV
Web browsers cannot play directly through an offline receiver, smart television, or car USB head unit. Clicking Download test WAV synthesizes the last selected preset (speaker-test-<id>.wav) directly in memory as uncompressed stereo PCM audio without server round-trips.
Following the Library of Congress WAVE Audio Format container specification, each download writes a standard 44-byte RIFF/WAVE header (fmt chunk tag 1) followed by 48,000 Hz, 16 bits per sample stereo frames. A 15 ms raised-cosine envelope smoothly tapers both ends of the clip so looping playback on external hardware never pops.
Fixing mono Bluetooth profiles and muted browser output
Wireless headsets frequently fail left/right separation checks even though the hardware is completely intact. Bluetooth audio uses separate profiles for music playback versus voice calls: A2DP carries full stereo audio, whereas Hands-Free Profile (HFP) drops down to mono whenever any open app accesses the headset microphone.
Close browser tabs or conferencing tools holding your headset mic, then verify your operating system output points to the stereo headphones endpoint rather than the headset hands-free endpoint. Also confirm your OS accessibility settings do not enable mono audio summing or shift the balance slider away from center.
When an online speaker test produces no sound after a click, browsers may still hold the tab muted or await a fresh gesture to wake a suspended AudioContext. Check physical 3.5 mm TRS jack seating, verify external amp power, and adjust Test volume between 10% and 90% (45% default) alongside your OS mixer.
Tip: Mouse scroll notches can rattle loudly during low-volume acoustic room tests. Try isolate noisy scroll notches alongside speaker output checks if mechanical desktop noise competes with quiet sweeps.