mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 21:46:31 +01:00
The Advanced Linux Sound Architecture (ALSA) - utilities
0c5948e98a
Recently users reported a bug, I tested it and found it is a common issue on Laptop or Desktop machines. The issue is users plug a headset and use "arecord test.wav" to record a sound with default input volume, the recorded sound has poor quality and nearly can't distinguish it is the sound we want to record. This is because the input volume is low and the default format is U8. The driver records sound with 16bit, because the input volume is low, most of samples are within (-256,+256), when converting 16bit to U8, those samples will be 0x7f. This is called quantization noise and we could only workaround it by increase the input volume or adding -f to arecord. But users want to record a better quality sound with default input volume (after installing a new OS, the volume is the default volume), and they don't want to add parameters to the arecord because most of new linux users just use "arecord test.wav". So this patch tries to change the default format from U8 to S16_LE/BE. If the machine doesn't support S16_LE/BE, it still uses U8 as default format. Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz> |
||
---|---|---|
.github/workflows | ||
alsa-info | ||
alsaconf | ||
alsactl | ||
alsaloop | ||
alsamixer | ||
alsaucm | ||
amidi | ||
amixer | ||
aplay | ||
axfer | ||
bat | ||
iecset | ||
include | ||
m4 | ||
po | ||
seq | ||
speaker-test | ||
topology | ||
utils | ||
.gitignore | ||
.travis.yml | ||
acinclude.m4 | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
gitcompile | ||
INSTALL | ||
Makefile.am | ||
README.md | ||
TODO |
alsa-utils
Advanced Linux Sound Architecture - Utilities
This package contains the command line utilities for the ALSA project. The package can be compiled only with the installed ALSA driver and the ALSA C library (alsa-lib).
Utility | Description |
---|---|
alsaconf | the ALSA driver configurator script |
alsa-info | a script to gather information about ALSA subsystem |
alsactl | an utility for soundcard settings management |
aplay/arecord | an utility for the playback / capture of .wav,.voc,.au files |
axfer | an utility to transfer audio data frame (enhancement of aplay) |
amixer | a command line mixer |
alsamixer | a ncurses mixer |
amidi | a utility to send/receive sysex dumps or other MIDI data |
iecset | a utility to show/set the IEC958 status bits |
speaker-test | a speaker test utility |
alsaloop | a software loopback for PCM devices |
alsaucm | Use Case Manager utility |
alsabat | a sound tester for ALSA sound card driver |
alsatplg | ALSA topology compiler |
You may give a look for more information about the ALSA project to URL http://www.alsa-project.org.