Thread Subject: How to remove white noise from wav audio files

Subject: How to remove white noise from wav audio files

From: JOE

Date: 27 Jul, 2008 19:13:15

Message: 1 of 2

Hi!I have been making a speaker verification system using Matlab.Unfortunately,when I record wav audio clips via a microphone,white noise is present in the wav files.

How do I remove the white noise to enable a more accurate speaker verification system?

My code for reading the wav file is as below

[s,fs]=wavread('train\joe.wav');

I was hoping to remove the white noise from the amplitude values (s) such that the filtered signal becomes one of the input parameters in my Mel-Frequency Cepstrum Co-efficients as shown below

v = mfcc(s, fs); where s is the filtered signal.

Please help me and I shall be infinitely grateful.Thanks in advance.

Subject: How to remove white noise from wav audio files

From: Johan Carlson

Date: 22 Nov, 2008 07:28:04

Message: 2 of 2

JOE <joemwangii@gmail.com> wrote in message <18667858.1217186063014.JavaMail.jakarta@nitrogen.mathforum.org>...
> Hi!I have been making a speaker verification system using Matlab.Unfortunately,when I record wav audio clips via a microphone,white noise is present in the wav files.
>
> How do I remove the white noise to enable a more accurate speaker verification system?
>
> My code for reading the wav file is as below
>
> [s,fs]=wavread('train\joe.wav');
>
> I was hoping to remove the white noise from the amplitude values (s) such that the filtered signal becomes one of the input parameters in my Mel-Frequency Cepstrum Co-efficients as shown below
>
> v = mfcc(s, fs); where s is the filtered signal.
>
> Please help me and I shall be infinitely grateful.Thanks in advance.

The best you can do i guess is to apply a lowpass or bandpass filter to your signal, keeping only the frequency range where the signal of interest is. Unless you have any means of predicting the signal of interest, you can not remove white noise when the spectra of noise and signal overlaps.

When filtering, take a look at the filtfilt function, since it preserves the phase of your original signal.

/JC

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
record file hiep kiem 13 Oct, 2009 12:16:25
record audio file hiep kiem 13 Oct, 2009 12:16:13
noise Sprinceana 8 Sep, 2009 16:47:30
noise remove Sprinceana 8 Sep, 2009 16:47:30
wav file Sprinceana 8 Sep, 2009 16:47:30
remove Sprinceana 8 Sep, 2009 16:47:30
remove noise Sprinceana 8 Sep, 2009 16:47:30
remove noise fr... Sprinceana 8 Sep, 2009 16:47:30
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com