Speech Compression using GSM RPE-LTP full report
Active In SP
Joined: Mar 2010
21-03-2010, 10:34 AM
Speech-Compression-Using-GSM.ppt (Size: 156.5 KB / Downloads: 271)
Speech Compression using GSM RPE-LTP
Faiza Nawaz Bisma Hashmi Mehrin Kiani
Introduction to GSM
The Global System for Mobile Communications is the most popular standard for mobile phones in the world. GSM service is used by over 2 billion people across more than 212 countries and territories. The ubiquity of the GSM standard makes international roaming very common between mobile phone operators. GSM differs significantly from its predecessors in that both signaling and speech channels are Digital call quality. (so it is considered a second generation (2G) mobile phone system.)
Architecture Of GSM
What is Speech
GSM 6.10 Vocoder
Key principle: mathematical modeling of the human vocal tract, leading to an efficient compression method for transmitting speech. A vocoder (combination of voice and coder) is used to describe GSM systems tailored for the compression of speech. The sampling rate is 8000 sample/s leading to an average bit rate for the encoded bit stream of 13 K bit/s
GSM 6.10 Vocoder
Coding scheme used by GSM 6.10 Vocoder is the Regular Pulse Excitation - Long Term prediction - Linear Predictive Coder (RPE-LTP) Vocoder sends three kinds of information to the receiver:
Voiced or unvoiced signal (If it is voiced) The period of the excitation signal The parameters of the prediction filter.
Linear Predictive Coder (LPC)
LPC algorithm assumes that each speech sample is a linear combination of previous samples. Speech is sampled, stored and analyzed. Coefficients calculated from the sample are transmitted and processed in the receiver. Receiver accurately processes and categorizes voiced and unvoiced sounds.
Residual Pulse Excited (RPE) Coder
Determines if the signal is voiced or unvoiced Determines the period for voiced sounds, encodes periodicity and transmits the coefficient When the signal changes from voiced to unvoiced, RPE transmits a code that stops the receiver from generating periodic pulses Starts generating random pulses to correspond to the noise like nature of unvoiced
GSM Compression Technologies
Four compression technologies are:
Full Rate Enhanced Full Rate (EFR) Adaptive Multi-Rate (AMR) Half Rate
GSM Full Rate Vocoder Using RPE-LTP
Described as an RPE-LTP linear predictive coder. Models the human vocal tract as a series of cylinders of different widths. By forcing air through these cylinders, speech sounds can be generatedâ€ the LPC coder models this with a set of simultaneous equations.
The input data to the RPE-LTP coder is 20ms of speech composed of 160 samples, each with 13bit resolution. The data is first passed through a pre-emphasis filter:
Enhances high-frequency components of the signal. (better transmission efficiency.) Also removes any offset on the signal. (Simplifies computation.)
LPC Speech Generation
The model of speech generation can be thought of as air passing through a set of different size cylinders.
Short Term Analysis Stage
Uses autocorrelation to calculate a set of eight reflection coefficients. Schur recursion is used to efficiently solve the set of equations resulting from it. The parameters are then converted into log-area ratios (LARs) -- that allow better quantizing in a smaller number of bits â€ the first eight parameters of the transmission stream.
The coded LARs is then decoded back to coefficients and used to filter the input samples.
The reason for decoding the LARs is to ensure that the encoder uses the same information available at the decoder to perform the filtering. An array of weights lpc[P] is computed such that s[n] ~ lpc*s[n--1]+lpc*s[n--2]+_+lpc[P--1]*s[n--P]
(P is usually between 8 and 14, GSM uses 8.)
Long Term Prediction Stage
The 160 samples are split into 4 sub-windows of 40 samples each.
Long Term Prediction Stage (Â¦contd)
The long-term predictor produces two parameters for each sub window: the lag and the gain. The LTP lag describes the source of the copy in time. The LTP gain describes the scaling factor.
Calculating Lag and Gain
Compute resemblance by correlation. correlation of x[n] and y[n] = Sum of products x[n]*y[n-lag]
Maximum correlation divided by the energy of the reconstructed short-term residual signal.
Residual Pulse Encoding
To remove the long-term predictable signal from its input, the algorithm then subtracts the scaled 40 samples. The residual signal is either weak or random and consequently cheaper to encode and transmit.
The algorithm down-samples by a factor of three, discarding two out of three sample values. Results in four evenly spaced 13-value subsequences to choose from, starting with samples 1, 2, 3, and 4. The algorithm picks the sequence with the most energy. That leaves us with 13 3-bit sample values and a 6-bit scaling factor that turns the PCM encoding into an APCM
Decoder consists of three parts
RPE Decoding LTP synthesis filter LPC short term synthesis filter
Algorithm multiplies the 13 3-bit samples by the scaling factor and expands them back into 40 samples, zero-padding the gaps Resulting residual pulse is fed to the long-term synthesis filter 40-sample segment is cut from the old estimated short-term residual signal, scaled by the LTP gain and added to the incoming pulse Estimated short-term residual signal passes through the short-term synthesis filter whose reflection coefficients are calculated by the LPC module Noise from the excited long-term synthesis filter passes through the tubes of the simulated vocal tract--and emerges as speech
Use Search at http://topicideas.net/search.php wisely To Get Information About Project Topic and Seminar ideas with report/source code along pdf and ppt presenaion
project report helper|
Active In SP
Joined: Sep 2010
28-10-2010, 02:33 PM
04-speech-coding.pdf (Size: 1.03 MB / Downloads: 193)
Telephone quality voice:
8000 samples/sec, 8 bits/sample, mono
CD quality audio:
44100 samples/sec, 16 bits/sample, stereo
Communications channels and storage cost money (although less
than they used to)
What can we do to reduce the transmission and/or storage costs
without sacrificing too much quality?
Active In SP
Joined: Feb 2011
27-03-2011, 09:18 PM
hi.... i need a full report on the above topic....pls reply.... its urgent