mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-09-19 17:49:59 +02:00
0cfe406618
Alsabat reports error when noise above threshold be detected. Use either of the options below to designate the threshold. (e.g. if the ratio of noise to signal is 5%, the snr is about 26dB.) --snr-db <value in dB> --snr-pc <value in %> The noise detection is performed in time domain. On each period of the sine wave being analyzed, alsabat substracts a clean sine wave from the source, calculates the RMS value of the residual, and compares the result with the threshold. At last, alsabat returns the number of periods with noise above threshold. 0 is returned when the source is clean. Signed-off-by: Lu, Han <han.lu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
alsa.c | ||
alsa.h | ||
alsabat-test.sh | ||
alsabat.1 | ||
analyze.c | ||
analyze.h | ||
bat-signal.h | ||
bat.c | ||
common.c | ||
common.h | ||
convert.c | ||
convert.h | ||
latencytest.c | ||
latencytest.h | ||
Makefile.am | ||
signal.c | ||
tinyalsa.c | ||
tinyalsa.h |