Audio Signal Processing Using Filter (LP, HP, BP, BS) | MATLAB Tutorial

by Smart Thinkers in Circuits > Software

8021 Views, 7 Favorites, 0 Comments

Audio Signal Processing Using Filter (LP, HP, BP, BS) | MATLAB Tutorial

matlab.png

In this instructable, we are showing how to apply filters (Low pass filter, high pass filter, band pass filter and band stop filter) on lively recorded voice.

Clear Close Commands

command.png

Write:

clc (Clear window command)

clear all (To clear all written commands)

close all (To close all open tabs)

Record Audio Using Microphone

record.png

Record your lively audio for filtering using microphone.

recordblocking(recording, 5);

Here, 5 is seconds of audio recording.

Type Order of Filter and Sampling Frequency

order frq.png

Specify the order of filter and sampling frequency.

Here, N=8 order of filter

and Fc=0.2 sampling frequency

Highpass Filter

hp.png

Record Audio

speak.png

Wait for 'Speak' and start recording for five seconds and Stop when 'Stop' is display.

Result of High Pass Filter

mag.png
r1.png

Frequency Response and Filtered result before and after apply filter.

Low Pass Filter

lp.png

Results of Low Pass Filter

mag2.png
r2.png

Frequency Response and Filtered result before and after apply filter.

Band Pass Filter

bs.png

Result of Band Pass Filter

mag3.png
r3.png

Frequency Response.

Band Stop Filter

bs.png

Frequency Response of Band Stop Filter

mag4.png
r4.png

Frequency Response.

Complete Video Tutorial

Audio Signal Processing using Filter (LP, HP, BP, BS) | MATLAB Tutorial

LIKE, Share, Subscribe and Comment us to get more videos.