Is the peak value of the response not responding? If you are looking at a signal from a good ADC, the surrounding level should be in 1 or 10 counts, while voice or music will stand in thousands of counts. Is there some kind of automatic gain control that makes this strategy inoperative?
- , RMS , RMS- (RMS = stddev). 3-5, , , RMS 1,4. , spectrum . , . , , . , x , , 0,5 , Matlab:
Sx = fft(x .* hann(length(x), 'periodic'))
HANN Hann , FFT . . , x /, RMS :
pk2rms = max(abs(Sx))/sqrt(sum(abs(Sx).^2)/length(Sx))
, RMS 3-5 ( ), / . , "" .
, Sx , :
Gxx = ((k-1)*Gxx + Sx.*conj(Sx))/k
Gxx , , . , ( ).
:
1. 0,5 x, , . , x . . , RMS-, , Sx, DC.
2. , k, . , k, . x.