alsa-utils/bat
Lu, Han 0cfe406618 alsabat: add noise detection
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>
2016-06-08 15:17:14 +02:00
..
alsa.c alsabat: add round trip audio latency test 2016-06-08 15:11:25 +02:00
alsa.h BAT: Add playback and record functions 2015-10-02 12:42:01 +02:00
alsabat-test.sh alsabat: add noise detection 2016-06-08 15:17:14 +02:00
alsabat.1 alsabat: add noise detection 2016-06-08 15:17:14 +02:00
analyze.c alsabat: add noise detection 2016-06-08 15:17:14 +02:00
analyze.h BAT: Add spectrum analysis functions 2015-10-02 12:42:03 +02:00
bat-signal.h alsabat: add a single channel sine wave generator 2016-06-08 15:14:06 +02:00
bat.c alsabat: add noise detection 2016-06-08 15:17:14 +02:00
common.c alsabat: move alsa process to a single block 2016-03-23 17:51:22 +01:00
common.h alsabat: add noise detection 2016-06-08 15:17:14 +02:00
convert.c alsabat: align the data type on float 2016-06-08 15:12:27 +02:00
convert.h alsabat: align the data type on float 2016-06-08 15:12:27 +02:00
latencytest.c alsabat: add round trip audio latency test 2016-06-08 15:11:25 +02:00
latencytest.h alsabat: add round trip audio latency test 2016-06-08 15:11:25 +02:00
Makefile.am alsabat: add round trip audio latency test 2016-06-08 15:11:25 +02:00
signal.c alsabat: add a single channel sine wave generator 2016-06-08 15:14:06 +02:00
tinyalsa.c alsabat: add round trip audio latency test 2016-06-08 15:11:25 +02:00
tinyalsa.h alsabat: add tinyalsa support 2016-03-23 17:51:22 +01:00