Spectral Subtraction
i Cant Undersyand that MATLAB Code ...
%SPECTRALSUBTRACTION performs speech enhancement using spectral
subtraction [OUT,PO]=SS(IN,FS,P)
%
% implementation of spectral subtraction algorithm
% noisy speech IN with fs=FS enhanced by SS and returned in OUT, P is
the algorithm parameters as bellow:
% algorithm parameters: t* in seconds, f* in Hz, k* dimensionless
% 1: tg = smoothing time constant for signal power estimate (0.04):
high=reverberant, low=musical
% 2: ta = smoothing time constant for signal power estimate used in
noise estimation (0.1)
% 3: tw = fft window length (will be rounded up to 2^nw samples)
% 4: tm = length of minimum filter (1.5): high=slow response to noise
increase, low=distortion
% 5: to = time constant for oversubtraction factor (0.08)
% 6: fo = oversubtraction corner frequency (800): high=distortion,
low=musical
% 7: km = number of minimisation buffers to use (4): high=waste
memory, low=noise modulation
% 8: ks = oversampling constant (4)
% 9: kn = noise estimate compensation (1.5)
% 10:kf = subtraction floor (0.02): high=noisy, low=musical
% 11:ko = oversubtraction scale factor (4): high=distortion,
low=musical
Please tell me about P which is the Parmater ...and about PO
Fnews-brouse 1.9(20180406) -- by Mizuno, MWE <mwe@ccsf.jp>
GnuPG Key ID = ECC8A735
GnuPG Key fingerprint = 9BE6 B9E9 55A5 A499 CD51 946E 9BDC 7870 ECC8 A735