How to test your headphones: left/right, stereo phase and sound direction
Swapped or out-of-phase channels ruin positional audio in games. A browser can play test signals and simulate direction; your ears do the judging.
執筆 HZBench編集部公開:
この記事は英語のみです。
Most headphone problems that matter in games are simple to check: one side quieter, left and right swapped, or one driver wired in reverse so the two sides push against each other. A browser can play the right test signals; you listen and judge.
Four checks
| Check | What you should hear | What a problem sounds like |
|---|---|---|
| Left, centre, right | Sound clearly in the named place | Swapped sides, or centre pulled to one ear |
| Low to high sweep | A smooth tone from deep bass to very high | Rattling, gaps, or one side cutting out |
| Stereo phase | In phase: centred and full. Out of phase: vague and spread out | The two sound the same, or in phase sounds hollow |
| Quietest sound | A faint tone you can just hear | Very different thresholds left and right |
Sound direction
Browsers can place a sound in space with the Web Audio PannerNode. Its HRTF panning model renders higher-quality stereo than the default by convolving the sound with measured impulse responses from human subjects [1]. That is how a footstep test can make a sound seem to come from behind you through ordinary headphones.
It works best with stereo headphones and no extra processing. Surround or virtual-surround modes in the headset software apply their own spatial effect on top, which can confuse direction; test both ways and keep the one where you point most accurately.
Step by step
- Set system volume to a moderate level before playing any sweep.
- Play left, centre and right, then the low-to-high sweep, and listen for rattles or dropouts.
- Play the in-phase and out-of-phase signals and compare.
- Open the footstep test and point to where each step comes from. Repeat with virtual surround on and off.
If left and right sound the same
Before blaming the headphones, check two system settings: the left/right balance slider for the output device, and the mono audio option in the accessibility settings, which mixes both channels into one so every sound comes from the middle. Either one makes positional audio impossible. Then try another cable or port; a damaged plug often drops one channel or makes it crackle when moved. With USB headsets, also check that the system has not selected the headset’s second, voice-only output by mistake.
Choosing the output device
If sound plays through the wrong device, change the default output in system settings. Some browsers also let a page choose the output device with setSinkId() [2], but support differs, so the system setting is the reliable option.
出典
- [1] PannerNode: panningModel property, MDN Web Docs (閲覧 )
- [2] HTMLMediaElement: setSinkId() method, MDN Web Docs (閲覧 )