Path: news.mathworks.com!not-for-mail
From: "smile john" <smile@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: There is a &#8220;testsound.wav&#8221; test sound signal.
Date: Fri, 10 Apr 2009 06:04:09 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <grmngp$ei6$1@fred.mathworks.com>
Reply-To: "smile john" <smile@yahoo.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1239343449 14918 172.30.248.38 (10 Apr 2009 06:04:09 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 10 Apr 2009 06:04:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1796587
Xref: news.mathworks.com comp.soft-sys.matlab:531804


There is a &#8220;testsound.wav&#8221; test sound signal.  Read the sound in using wavread and make the same lengt time vector and you can plot the signal.  Use sound to hear it. 

You should analyze which sound components are included and after that you should build a band pass filter to pick up only the middle frequency sound.  (FFT)

You should build a FIR filter using a Window method.  Select the best window type and analyze the differencies. Pass band ripple may be at max -3 db and the minimum attenuation in stop band should be at least -40 db.

You can use Matlab fdatool to help building the filter.