Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


filter a sound file

Posted on 2009-04-08
Medium Priority
Last Modified: 2013-11-25
can anyone help me with the sound file i have to filter it so that i can clear it and hear that word on it. this is has to be done on MATLAB programming software, and i have the file attached bellow for you....
 please not that i have gave the file an extention (.doc), but you have to change it back to (.wav) when you receive it, and when you send it back you have to send it be different extention againg, otherwize it would not be allowed to upload on you website...
anyway, can you please send me the explenation how it flitered please, (if sorted)

thank you
Question by:ferman-k
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 15

Expert Comment

ID: 24099112
No file attached, please upload.

Author Comment

ID: 24102951
i thought i have attached the file, anyway, i am sorry here is the file, but again, please note that i have changed the extention of the file  to .doc   in order to be send, so when you receive it please change the extention back to .wav

Expert Comment

ID: 24106958
Hello, there.  This sounds like a homework assignment, am I right?  If that is the case, we can't do the work for you.  But here's some code to get you started.  You can experiment with various filter types and sizes.  If you don't understand some of the functions, just look them up in the help files.

alo = [1 1 0 0];
ahi = [0 0 1 1];
f = [0 0.05 0.1 1];
n = 50;
h = firpm(n,f,alo);
[x,Fs,Nbits,Opts] = wavread('deng.wav');
y = filter(h,1,x);

Open in new window


Accepted Solution

masheik earned 1500 total points
ID: 24109094
--can anyone help me with the sound file i have to filter it so that i can clear it and hear that word--
read the file using wavread and plot fft of the file  see frequency content and  what should be removed?

you can find examples here

About filtering and reading wav files this link can help you

read and try your own,
an example filter implementation

Expert Comment

ID: 24110081
For the frequency content, try using the pwelch command.  It gives you the power spectral density.  The basic command is


you can also add other inputs to the function for things like sampling frequency and such.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
Suggested Courses

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question