https://github.com/ilkerdurmaz/sound-latency-tester
Browser-based audio output device latency tester
https://github.com/ilkerdurmaz/sound-latency-tester
bluetooth headset latency latency-test latency-tester sound
Last synced: 9 days ago
JSON representation
Browser-based audio output device latency tester
- Host: GitHub
- URL: https://github.com/ilkerdurmaz/sound-latency-tester
- Owner: ilkerdurmaz
- License: mit
- Created: 2026-06-08T18:23:00.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2026-06-08T22:36:20.000Z (21 days ago)
- Last Synced: 2026-06-09T00:20:19.331Z (21 days ago)
- Topics: bluetooth, headset, latency, latency-test, latency-tester, sound
- Language: Vue
- Homepage: https://sound-latency-tester.netlify.app/
- Size: 139 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sound Latency Tester
A simple Nuxt application for measuring microphone and audio output latency in the browser.
The app plays short test sounds, detects the returned audio through the microphone, and calculates latency results from repeated measurements. It can be used to compare headphones, speakers, microphones, or different audio output settings.
## Features
- Microphone and audio output device selection
- Detection threshold control
- Live microphone level meter
- Individual latency measurements and average result
- Reset measurements and refresh device list
## How It Works
The app asks for microphone access, plays a short test sound through the selected output device, and listens for that sound through the selected microphone. The time between playing the sound and detecting it from the microphone is recorded as the latency. Repeating the test gives a list of measurements and an average result.
## Setup
Install dependencies:
```bash
npm install
```
Start the development server:
```bash
npm run dev
```
The app runs at `http://localhost:3000` by default.
## Scripts
```bash
npm run dev
npm run build
npm run preview
npm run lint
npm run typecheck
```
## Notes
- The browser must be allowed to access the microphone.
- For best results, use an environment where the microphone can clearly hear the test sound.
- Audio output device selection may not be supported in every browser.