Remove White Noise after adding it with awgn by Spectral Substraction method
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Image Analyst
le 26 Jan 2020
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 commentaires
Image Analyst
le 27 Jan 2020
% 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
Voir également
Catégories
En savoir plus sur Spectral Estimation dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!