Re: [PATCH 0/4] alsabat: add noise detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 08 Jun 2016 21:42:45 +0200,
han.lu@xxxxxxxxx wrote:
> 
> From: "Lu, Han" <han.lu@xxxxxxxxx>
> 
> Add noise detection for alsabat.
> 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.
> 
> patch content:
>   1. align the data type and process on float
>   2. add a parameter for adjust_waveform()
>   3. add a single channel sine wave generator
>   4. add noise detection
> 
> Lu, Han (4):
>   alsabat: align the data type on float
>   alsabat: add channels parameter for adjust_waveform()
>   alsabat: add a single channel sine wave generator
>   alsabat: add noise detection

Applied all patches now.  Thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux