-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Welcome to the official bat wiki!
BAT (Basic Audio Tester) is a simple command line utility intended to automate audio driver and sound server QA testing with no human interaction. BAT works by playing an audio stream and capturing the same stream in either a digital or analog loop back. It then compares the captured stream to the original to determine if the test case passes or fails. BAT is now part of the alsa-utils package found in most distributions and is intended for anyone developing audio driver or sound server software or firmware under Linux.
BAT is available on alsa-utils package. Access from browser: http://git.alsa-project.org/?p=alsa-utils.git;a=summary
A typical infrastructure showing the analog test connection on Linux machine.
A typical infrastructure showing the analog test connection and flow on Android device. The NTP feature is in developing.
- Analog and display(both DP/HDMI) audio playback
- Analog audio capture and spectrum analyze
- Only PCM format
- Configurable parameters:
- Input source selection for playback: auto-generated with a specified frequency or existing sine WAV file
- channel number (mono or stereo)
- sample rate
- input sound clip duration (default 2 seconds)
- bit depth per sample (usually 8/16/24/32 bits)