34 views

Uploaded by الاميره شروق

this describe LPC technique

- JOINT ESTIMATION OF VOCAL TRACT AND SOURCE PARAMETERS OF A SPEECH PRODUCTION MODEL
- İLK Projem
- Mean Reversion in Stock Index Futures - A Nonlinear Analysis
- 10.1.1.83.5496
- Linear Predictive Coding
- AWGN
- Pembuktian data UI.pdf
- Singer Identification Based on Accompaniment Sound Reduction Por Fujihara
- sampling1
- Do Stocks Hedge Inflation - Vietnamese and Thai Evidence
- Additional Notes Digicomm
- Non-Destructive and Optical thickness measurements of steam grown oxide on contacting surfaces of power plant
- Science Frames
- 01425583
- Implications of CO2 in GDP
- Digital Communication
- Efficient Detection of Real-World Botnets' Command and Control Channels Traffic
- Broadband Network Traffic Analysis and Study in Various Types Of
- Abdulmuneem MS Thesis
- ssplo

You are on page 1of 4

1.0 Introduction

The goal of this project is to build an LPC Vocoder based on the model of speech

production shown below:

e(n),

excitation

Linear, TimeVarying

System

x(n),

speech output

LPC

Parameters

The excitation or input, e(n), is assumed to be either white noise or a quasi-periodic train

of impulses (for voiced sounds). The linear system is assumed to be slowly time-varying,

such that over short time intervals it can be described by the all-pole system function:

H ( z) =

G

p

1 − ∑ ak z − k

k =1

**The input and output signals are related by a difference equation of the form:
**

p

x( n) = ∑ ak x (n − k ) + Ge( n)

k =1

**Using standard methods of linear predictive (LP) analysis, we can find the set of
**

prediction coefficients {αk} that minimize the mean-squared prediction error betweeh the

signal x(n) and a predicted signal based on a linear combination of past samples; i.e.,

2/4/2004 11:18 AM

1

LPC Vocoder Project

for the prediction coefficients estimated from x(n). MATLAB’s Signal Processing Toolbox has a function called lpc(). The gain constant. G. Then. It can be shown that because of the special properties of the LP equations.G. the optimum predictor coefficients {αk} satisfy a set of linear equations of the form: Ra = r where R is a p x p Toeplitz matrix made up of values of the autocorrelation sequence for x(n). and r is a p x 1 vector of autocorrelation values. exists for solving the equations for the predictor parameters. a is a p x 1 vector of prediction coefficients.a. it is also possible to use the general MATLAB matrix functions. called the autocorrelation method. and is readily found from the autocorrelation values used in the computation of the prediction coefficients.. It can be shown that using one method of averaging. we see that the output of the prediction error filter with system function: p A( z ) = 1 − ∑ α k z − k k =1 is p d ( n ) = x ( n ) − ∑ ak x [ n − k ] ≡ G ⋅ e ( n ) k =1 i. In using LP techniques for speech analysis and synthesis. by definition of the model. the following code from an M-file autolpc() implements the autocorrelation method of LP analysis: %AUTOLPC % [A. but to avoid requiring that toolbox.p) [rws 3/2003] 2/4/2004 11:18 AM 2 LPC Vocoder Project .e. called the Levinson Recursion. the excitation of the model is defined to be the input that produces the given output. x(n). is therefore simply the constant that is required so that e(n) has unit mean-squared value.r]=autolpc(x. an efficient methods. we make the assumption that the predictor coefficients {αk} are identical to the parameters {ak} of the speech model.p < (d (n)) >=< ( x(n) − ∑ α k x [ n − k ]) 2 > 2 k =1 where < > represents averaging over a finite range of values of n. Specifically.

sum(x(1:L-i).*x(1+i:L))]. r=[]. 2/4/2004 11:18 AM 3 LPC Vocoder Project . the frame spacing is 80 samples. KTOA. (Note that unvoiced speech or silence is denoted by a pitch period value of 0).wav).mat contains measurements (estimates) of voiced/unvoiced decision and pitch period at a frame rate of 100 frames/sec.0 Project Details For this project you will use the file s5. Note that what goes on in a given frame is not independent of what happened in previous frames. the task is to synthesize a synthetic version of sentence s5. you should think about the following issues and how they affect the quality of your synthesis: 1. A zero value indicates that the speech frame is unvoiced (or silence). A=[1. together with the pitch period data provided. end R=toeplitz(r(1:p)). which contains the utterance “Oak is strong and also gives shade”.mat which contains estimates of the pitch period of the speech. you will need to know where the last pitch impulse occurred in the previous frame so as to determine the location of the next impulse in the current frame.wav (save your resulting synthesis in a file called s5_synthetic. You will also use the pitch period file pp5. For example. as the pitch period changes. Store this date in a two dimensional arrayor MATLAB data structure. In the course of creating this “LPC Vocoder”.wav. The goal of this project is to develop a program for doing linear predictive speech analysis and synthesis according to the model above. RTOA L=length(x). Using the predictor data. The file pp5. and a non-zero value is the pitch period estimate (in samples at an 8 kHz sampling rate) when the frame is voiced. every 10 msec. -a]. Since the sampling rate of the speech signal is 8 kHz. a=inv(R)*r(2:p+1).*r)). G=sqrt(sum(A. 2.% % % % % % % x=vector of input samples p=lpc model order a=vector of lpc coefficients r=vector of autocorrelation coefficients G=rms prediction error A=prediction error filter see also ATOK. on a frame-by-frame basis for an input speech signal vector. Specifically you are asked to write a program to estimate the prediction parameters and the gain. for i=0:p r=[r.

and a description of how you programmed the LPC Vocoder (e. but you should consider doing this if you have time. 5. You can change the vocal tract filter only once per frame. and if you are satisfied with the quality of your re-synthesized speech utterance. e(n)) and the synthetic excitation signal that you are using. Using this debug mode. excitation generation. If you are really ambitious. Be prepared to play your synthesized file in the classroom presentation of your project.2. graphics. the residual LPC analysis error.g. Project Report Include all code. What major differences do you perceive in the synthetic speech from the two pitch contours.g. 3. see if you can refine your estimates of the key sources of distortion in the LPC Vocoder. or you can interpolate between frames and change it more often (e. etc. Listen to your synthetic speech and see if you can isolate what are the main sources of distortion.. and use its output instead of the provided pitch file. Implement a “debug mode” where you can show the “true excitation signal” (i. as well as the resulting synthetic speech signal and the original speech signal. 4. at each new pitch period). for any frame or group of frames of speech. decisions made on frame length... 6.e.) Answer as many of the questions listed above as you can find time for. 2/4/2004 11:18 AM 4 LPC Vocoder Project . frame overlaps. try implementing a pitch detector based on either the speech autocorrelation or the LPC residual signal. What parameters can you interpolate and still maintain stability of the resulting synthesis? 3. You don’t have to quantize the vocal tract filter and gain parameters.

- JOINT ESTIMATION OF VOCAL TRACT AND SOURCE PARAMETERS OF A SPEECH PRODUCTION MODELUploaded byyouandme12345
- İLK ProjemUploaded byErtug Kepenek
- Mean Reversion in Stock Index Futures - A Nonlinear AnalysisUploaded byTraderCat Solaris
- 10.1.1.83.5496Uploaded bysurendranc298979
- Linear Predictive CodingUploaded byJohn Baptiste
- AWGNUploaded bySAMI UR REHMAN
- Pembuktian data UI.pdfUploaded byFairuz M. Ramadhan
- Singer Identification Based on Accompaniment Sound Reduction Por FujiharaUploaded byLeonardo Sáenz
- sampling1Uploaded byankush2302
- Do Stocks Hedge Inflation - Vietnamese and Thai EvidenceUploaded byPhuoc Dang
- Additional Notes DigicommUploaded byRoggen Joko
- Non-Destructive and Optical thickness measurements of steam grown oxide on contacting surfaces of power plantUploaded byNational Physical Laboratory
- Science FramesUploaded byLK
- 01425583Uploaded byapi-3697505
- Implications of CO2 in GDPUploaded byJuan Camilo Diaz
- Digital CommunicationUploaded bysunny756

- Efficient Detection of Real-World Botnets' Command and Control Channels TrafficUploaded byالاميره شروق
- Broadband Network Traffic Analysis and Study in Various Types OfUploaded byالاميره شروق
- Abdulmuneem MS ThesisUploaded byالاميره شروق
- ssploUploaded byالاميره شروق
- A Survey of Botnet Technology and DefensesUploaded byMinh Bu
- botnet(1)Uploaded byashish88bhardwaj_314
- Abdulmuneem MS ThesisUploaded byالاميره شروق

- History of ElectronicsUploaded byprafful666
- Piping Coordination Systems - Reference Points - Elevations - Plant NorthUploaded bySoni
- World Class ManufacturingUploaded byDilfaraz Kalawat
- Vicroads Standard Specification - Section 801 Source Rock for the Production of Crushed Rock and AggregatesUploaded byyyanan1118
- EM-I Lab Viva QuestionsUploaded byElangovan Selvam
- IV-1 MC-PP 08.003 Shaft Alignment Calculation ReportUploaded bycengiz kutukcu
- BlackBerry Desktop Software for Mac Version 2.1 User GuideUploaded byBlackBerryRocks.com
- Summer Project report in Hcl infosystems limitedUploaded byram kishore mishra
- psa_307_addgo2_fap.4Uploaded byДалибор Вукић
- Ajit SynopsysisxxskUploaded byNarayana Swamy
- Consumer Model for Online Shopping BehaviourUploaded byOmdeep
- Pneumatic CalculationUploaded byDavid Lambert
- backing ring.pdfUploaded byDang Hieu Nguyen
- Lab 2 ElectronicsUploaded byKaya Emanuel
- BiofuelUploaded byJessicalba Lou
- Architect jeetendra kharote-CVUploaded byjeetendra kharote
- Pneu-1Uploaded bysaliana binti sanusi
- Cotton ReportUploaded byVrushali Khatpe
- Building Your Own Activex Controls With Visual BasicUploaded bysharmarak
- 2006 Jan Part 1Uploaded byNilesh Chaudhari
- e05-hc_dewpoint_control.pdfUploaded byConnor Sailor
- PSAP Operations Guide for Wireless 9-1-1Uploaded byAbhijeet B
- 1-s2.0-S0360544215009251-mainUploaded bykristian
- Tutorial LabVIEWUploaded byAndre
- Assignment on EDIUploaded byAaqueeb Pasha
- ASTM A615Uploaded byMakaryo L. Buensuceso
- Fluid Mechanics Lab ManualUploaded byPrasad Sai
- Plasma surface technology promoting capillary impregnation of wood: xps analysis of different plasma pre-treated wood surfacesUploaded bydilianang
- EDC15_rev1.3Uploaded byPero Peric
- march14scienceUploaded byapi-251841398