Alfred
Alfred

Reputation: 1663

Filtering an Audio Signal

I made Equiripple FIR high pass filter using FDAtool in MATLAB. I want to pass a voice signal from this filter and select only high frequency part of the voice input. The problem is I don't know how to pass the voice input through this filter.

Any ideas how can I do it?

Upvotes: 0

Views: 3330

Answers (2)

cohadar
cohadar

Reputation: 4888

wavread('filename') converts a wav file into number array. Try searching "Audio Processing with MatLab" for details.

Upvotes: 2

Herr von Wurst
Herr von Wurst

Reputation: 2621

Read the voice signal from a file into a vector, then use something like

d = fdesign.highpass('N,Fc',10,1000,48000);
hp = design(d);
signal = filter(hp, signal)

found here:

http://www.mathworks.de/de/help/dsp/ref/fdesign.highpass.html

Upvotes: 0

Related Questions