The Advanced Linux Sound Architecture (ALSA) - utilities
Find a file
Hui Wang 0c5948e98a aplay: try to use 16-bit format to increase capture quality
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>
2020-10-23 11:39:52 +02:00
.github/workflows github actions: ubuntu - fix the non-interactive build 2020-06-02 13:09:34 +02:00
alsa-info alsa-info: provide DMI system sku 2020-10-06 13:01:57 +02:00
alsaconf alsaconf: update gentoo to use modprobe.d method as everyone else 2013-11-14 08:51:55 +01:00
alsactl alsactl: 00main - fix typo in goto label 2020-10-13 17:30:15 +02:00
alsaloop alsaloop: Fix the silence generation in xrun_sync 2020-09-25 15:21:15 +02:00
alsamixer alsamixer: remove wrong free(buf) call in read_file() 2020-07-01 16:16:24 +02:00
alsaucm alsaucm: Fix ending with quotes commands 2020-07-27 11:56:47 +02:00
amidi Avoid empty initializer list 2020-02-10 12:39:43 +01:00
amixer amixer: retype to double in convert_prange1() like in convert_prange() 2020-06-05 17:59:31 +02:00
aplay aplay: try to use 16-bit format to increase capture quality 2020-10-23 11:39:52 +02:00
axfer treewide: fix typos in manual pages 2020-10-06 13:07:29 +02:00
bat alsabat: fix typo 2020-10-06 13:00:18 +02:00
iecset Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
include configure.in -> configure.ac rename 2014-05-07 10:55:59 +02:00
m4 Fix autoreconf 2005-08-19 13:07:45 +00:00
po fix gettextize 2018-10-24 20:46:25 +02:00
seq Avoid empty initializer list 2020-02-10 12:39:43 +01:00
speaker-test speaker-test: Allow sampling rates up to 768000 2018-06-07 12:15:46 +02:00
topology topology: check for the remove() error (coverity) 2020-06-09 10:31:50 +02:00
utils Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:25:17 +02:00
.gitignore initial version of .travis.yml 2018-10-24 22:30:59 +02:00
.travis.yml initial version of .travis.yml 2018-10-24 22:30:59 +02:00
acinclude.m4 fixed for the recent autoconf. 2004-01-26 15:57:37 +00:00
ChangeLog update build tools. 2005-08-13 16:27:59 +00:00
configure.ac Release v1.2.4 2020-10-15 13:32:33 +02:00
COPYING Updated COPYING with the recent FSF address 2011-06-03 14:24:30 +02:00
gitcompile configure.in -> configure.ac rename 2014-05-07 10:55:59 +02:00
INSTALL alsactl: Move systemd unit start-up from basic.target to sound.target 2017-10-06 14:32:16 +02:00
Makefile.am Makefile.am: add README.md to EXTRA_DIST 2019-01-07 14:57:55 +01:00
README.md README.md: add build status badge 2020-02-18 20:08:37 +01:00
TODO aplay/arecord 2000-12-27 21:24:57 +00:00

alsa-utils

Advanced Linux Sound Architecture - Utilities

Build alsa-utils

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.