Title: Implementation of Linear Predictive Coding (LPC) of Speech
1Implementation of Linear PredictiveCoding (LPC)
of Speech
- Term Project by
- Komel Rauf
- Saba Hameed
- Mahinn Zahoor
2Speech Modeling Non-stationary
3Speech Modeling LTI Model
4Speech Modeling LTI Model
5Speech Modeling Source (voiced)
6Speech Modeling Source (Unvoiced)
7Speech Modeling
8Speech Modeling Transfer Function
9Radiation
10Overview
11Voice Segmentation
12Voice Segmentation - Filtering and Windowing
13Voice Segmentation - Silence Detection
14LPC - Motivation
- Speech Difference Equation for a pth order
filter
Want to minimize the mean-squared prediction
error
15LPC - Autocorrelation
- If we assume that s(n) is zero outside the
interval - We need to solve the following set of linear
equations
16LPC - Autocorrelation
17LPC - Autocorrelation
- In matrix form the set of linear equations can be
expressed as
18LPC-Levinson-Durbin Algorithm
- By exploiting
- Toeplitz structure of the matrix
- Particular structure of the right-hand side of
the linear system of equation - We can use the efficient Levinson-Durbin
recursive procedure to solve this particular
system of equations.
19LPC - Gain Coefficient
- It can be shown that the gain coefficient is
given by
Where En is the minimum mean squared error
prediction and is given by E(p) from
Levinson-Durbins Algorithm.--We will transmit G2.
20LPC Algorithm
21Pitch Detection - Motivation
- Recall that source can be either a periodic
- impulse train spaced by F0 or random noise
- Autocorrelation function of a speech frame
- If x(n) is periodic in N, then R(k) is also
periodic in N - Thus, we can compute R(k) and check if its
periodic
22Pitch Detection Motivation
- The autocorrelation representation retains too
much of the information in the speech signal.We
process the speech signal to make the periodicity
more prominent while suppressing other
distracting features of the signal. - Techniques which perform this type of operation
on signal are called "spectrum flatteners" since
they remove the effects of the vocal ractÂ
transfer function
23Pitch Detection Motivation
- First we clip the frame using 3-level center
- clipping function
24Pitch Detection Motivation
- Next we compute the modified autocorrelation
function - where can have only 3 different values
25Pitch Detection-Algorithm
26LPC Synthesizer