Remove White Noise after adding it with awgn by Spectral Substraction method
5 次查看(过去 30 天)
显示 更早的评论
i have an audio signal.then i add a gaussian white noise with awgn.now how can i remove the noise using fft and spectral substraction and revert to original signal?
i dont want to use filters.just spectral substraction
[x,fs]=audioread('Test.wav');
x = awgn(x,3,'measured');
audiowrite('Noisy.wav',x,fs)
0 个评论
回答(1 个)
Image Analyst
2020-1-26
I don't think you can. By definition white noise happens equally at all wavelengths. If it's really in there and it's really white, then it's spread evenly all across the spectra so you can't "remove" it unless you just want to do something like threshold the signal to set all values less than some value to pure zero (silence). Since it doesn't happen in any one particular location in the spectrum, how can you remove it by spectral filtering? Do you have some algorithm for the "Spectral Substraction method"? Maybe it's some magic algorithm I'm not aware of.
2 个评论
Image Analyst
2020-1-27
% Mute values less than 0.1
% Get indexes where the signal is soft or quiet.
quietIndexes = signal < 0.1; % Whatever.
signal(quietIndexes) = 0; % Apply muting
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Propagation and Channel Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!