Académique Documents
Professionnel Documents
Culture Documents
PROJECT REPORT
FOR
(UEC502)
Submitted by:
Bhaskar Gupta [101615032]
ENC - 2
EXPERIMENT
AIM: Write a program to read in a speech file and filter it to bandwidth of 5.5KHz, 4KHz and
3.2KHz. Listen to each of the resultant filter speech files and describe the effect of low pass
filtering on speech intelligibility and quality.
CODE:
clc
clear all
% designing filters
filter1 = dsp.LowpassFilter('DesignForMinimumOrder',false, ...
'FilterOrder',N,'PassbandFrequency',Fp_filter1,'SampleRate',Fs,...
'PassbandRipple',Rp, 'StopbandAttenuation',Rst);
fvtool(filter1,'Fs',Fs,'Color','White') % Visualize filter
'FilterOrder',N,'PassbandFrequency',Fp_filter2,'SampleRate',Fs,...
'PassbandRipple',Rp, 'StopbandAttenuation',Rst);
fvtool(filter2,'Fs',Fs,'Color','White')
'FilterOrder',N,'PassbandFrequency',Fp_filter3,'SampleRate',Fs,...
'PassbandRipple',Rp, 'StopbandAttenuation',Rst);
fvtool(filter3,'Fs',Fs,'Color','White')
% applying filters
processed_data1 = filter1(data);
processed_data2 = filter2(data);
processed_data3 = filter3(data);
RESULT:
• At 5.5KHZ – The background noise was a bit affected which improved the speech quality
a little.
•
• At 4KHZ – We are able to identify that the background noise is suppressed. Amplitude of
high frequencies reduced to great extent although, original speech got also suppressed a
little
• At 3.2KHZ – A huge improvement in the quality was observed. Background noise is
suppressed upto great extent but we also observe original signal got suppressed.
`
`