voice filtering in matlab



Hello
I am trying to filter background sounds (mainly music) from a voice
recording (taken from a mobile phone)
I designed this bandpass filter in fdatool :

-CODE BEGINS-

function Hd = bandpass
% FIR Window Bandpass filter designed using the FIR1 function.

% All frequency values are in Hz.
Fs = 48000; % Sampling Frequency

Fstop1 = 499; % First Stopband Frequency
Fpass1 = 500; % First Passband Frequency
Fpass2 = 1999; % Second Passband Frequency
Fstop2 = 2000; % Second Stopband Frequency
Dstop1 = 1; % First Stopband Attenuation
Dpass = 0.057501127785; % Passband Ripple
Dstop2 = 1.5848931925e-005; % Second Stopband Attenuation
flag = 'noscale'; % Sampling Flag

% Calculate the order from the parameters using KAISERORD.
[N,Wn,BETA,TYPE] = kaiserord([Fstop1 Fpass1 Fpass2 Fstop2]/(Fs/2), [0 ...
1 0], [Dstop1 Dpass Dstop2]);

% Calculate the coefficients using the FIR1 function.
b = fir1(N, Wn, TYPE, kaiser(N+1, BETA), flag);
Hd = dfilt.dffir(b);


-CODE ENDS-

I filter my voice sample with this filter and the result is rather
dissapointing, since the background noise is still apparent, and the voice
is less clear. I just took in mind that the normal voice range is 500Hz-2KHz
and designed the filter accordingly. What is wrong with this? Any
suggestions?
I did this only as an experiment and now I dont know how to proceed.
Thanks



.



Relevant Pages

  • Re: VoiceMax is Coming July 22nd... Are You Ready to be Heard?
    ... That means that every voice... ... about the best you can do, but it still causes moderate distortion. ... You can filter out ... 100% average modulation all the time, but it sounds like crap and is ...
    (rec.radio.cb)
  • Re: PWM -> Audio
    ... the quality of the voice data. ... This is voice audio < 4 kHz sampled at 8 kHz. ... responce adjusted to correct for the shape of the filter. ...
    (sci.electronics.design)
  • Re: Smoke detectors for the elderly
    ... Don Klipstein wrote: ... If it does voice, I'm going to assume it handles at least ... I have experience with an 800 Hz highpass 4th order Chebyshev filter ... seen very little improvement in loudspeaker fidelity in the past 25 years. ...
    (alt.home.repair)
  • Re: Symmetrical Voice Files
    ... > Voice, by nature, is non-symmetrical. ... Its an allpass filter which causes a phase shift at around the middle of the ... typical vocal energy distribution (IIRC 600ish hz). ...
    (rec.audio.pro)
  • Re: voice filtering in matlab
    ... Are you sure that the voice range is 500-2kHz? ... the fundamental frequency of an adult male is between 85 to 155 Hz, ... I am trying to filter background sounds from a voice ...
    (comp.soft-sys.matlab)