Sunteți pe pagina 1din 4

9/28/2013

Speech and Audio Signal Processing


ECE554

Overview
Introduction; Shot-time Process
Time Domain Analysis Energy and Average Magnitude

jaj

Average Zero-Crossing Rate


Speech Vs Silence
Autocorrelation Function
Pitch Period Estimation
Nikesh Bajaj
nikesh.14730@lpu.co.in
Asst. Prof. DSP, SECE
Lovely Professional University
2 By: Nikesh Bajaj

Short-Time Analysis


Short-Time Processing
Analysis Frame
Ba
Problem and Solution : STFT
Short-Time Energy


Energy
Short-Time Energy
Or
sh
Window function

Short-Time Process

3 By: Nikesh Bajaj 4 By: Nikesh Bajaj


ke

Short-Time Energy Analysis Short-Time Energy and Magnitude


Ni

STEA

OR

5 By: Nikesh Bajaj 6 By: Nikesh Bajaj

1
9/28/2013

Window Window Effect


BW of Hamming window is aprox twice of
rectangular window of same length

jaj
Hamming Window gives much greater attenuation
outside the passband compare to rectangular
If N is too small ~ pitch period
En will fluctuate very rapidly (Not Good)
If N is too large ~ several times X pitch period
En will change very slowly (Not Good)
N = 100-200 for 10KHz (10-20msec)

7 By: Nikesh Bajaj 8 By: Nikesh Bajaj

Ba
Energy Plot: Effect of Windows and Sizes
Short-Time Energy
Major Significance
En provides basis for distinguishing Voiced and
Unvoiced speech segment
Can be used to locate when speech becomes voiced
sh

or unvoiced
Can be used for distinguishing speech from Silence
Drawback:
Very sensitive to large signal value due to ^2
Solution is Magnitude Function

9 By: Nikesh Bajaj 10 By: Nikesh Bajaj


ke

Magnitude Plot: Effect of Windows and Sizes


Short-Time Zero-Crossing
Ni

Zero Crossing
Z = 2* F0/Fs crossing/sample for sin
Interpretation
Computation

11 By: Nikesh Bajaj 12 By: Nikesh Bajaj

2
9/28/2013

Zero Crossing Speech Vs Silence Detection


Block Diagram

jaj
13 By: Nikesh Bajaj 14 By: Nikesh Bajaj

Short-Time-Autocorrelation Ba Short-Time-Autocorrelation
Properties
sh
With window

15 By: Nikesh Bajaj 16 By: Nikesh Bajaj


ke

Short-Time-Autocorrelation Autocorrelation of speech


Fs=10KHz
Ni

N=401
Voiced
Unvoiced

17 By: Nikesh Bajaj 18 By: Nikesh Bajaj

3
9/28/2013

Problem's for Exercise

jaj
Solve exercise questions given at last
of chapter in Rabinar's Book

19 By: Nikesh Bajaj 20 By: Nikesh Bajaj

Ba
Questions are available at the end of chapter from Rabinar's Book
sh
ke
Ni