SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Speech Compression
using
GSM RPE-LTP
Faiza Nawaz
Bisma Hashmi
Mehrin Kiani
2
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.)
3
Architecture Of GSM
4
What is Speech?
 Speech Generation:
5
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
6
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.
7
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.
8
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
9
GSM Compression Technologies
 Four compression technologies are:
 Full Rate
 Enhanced Full Rate (EFR)
 Adaptive Multi-Rate (AMR)
 Half Rate
10
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.
11
GSM Full Rate Vocoder Using RPE-LTP
(…contd)
 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.)
12
LPC Speech Generation
 The model of speech generation can be thought of as air passing
through a set of different size cylinders.
13
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.
14
 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[0]*s[n--1]+lpc[1]*s[n--2]+_+lpc[P--1]*s[n--P]
(P is usually between 8 and 14, GSM uses 8.)
Short Term Analysis Stage (…contd)
15
Long Term Prediction Stage
 The 160 samples are split into 4 sub-windows of 40
samples each.
16
 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.
Long Term Prediction Stage (…contd)
17
Calculating Lag and Gain
 LAG:
Compute resemblance by correlation.
correlation of x[n] and y[n] =
Sum of products x[n]*y[n-lag]
 GAIN:
Maximum correlation divided by the energy of the
reconstructed short-term residual signal.
18
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.
19
Residual Signal(…contd)
 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
20
Speech Decoder
 Decoder consists of three parts
 RPE Decoding
 LTP synthesis filter
 LPC short term synthesis filter
21
Speech Decoder(…contd)
22
Speech Decoder (…contd)
 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
23
QUESTIONS ???QUESTIONS ???

Weitere ähnliche Inhalte

Was ist angesagt?

Gsm, gprs, edge presentation
Gsm, gprs, edge presentationGsm, gprs, edge presentation
Gsm, gprs, edge presentationZahid Been Aziz
 
Digital microwave communication principles
Digital microwave communication principles Digital microwave communication principles
Digital microwave communication principles Mohamed Sewailam
 
Huawei GSM Principles
Huawei GSM PrinciplesHuawei GSM Principles
Huawei GSM PrinciplesAchmad Fauzi
 
Numbering plan system
Numbering plan systemNumbering plan system
Numbering plan systemnimay1
 
Layer 3 messages
Layer 3 messagesLayer 3 messages
Layer 3 messagesJohn Samir
 
Concept of Diversity & Fading (wireless communication)
Concept of Diversity & Fading (wireless communication)Concept of Diversity & Fading (wireless communication)
Concept of Diversity & Fading (wireless communication)Omkar Rane
 
Dense wavelength division multiplexing
Dense wavelength division multiplexingDense wavelength division multiplexing
Dense wavelength division multiplexingBise Mond
 
Signalling Techniques & Basics of CCS
Signalling Techniques & Basics of CCSSignalling Techniques & Basics of CCS
Signalling Techniques & Basics of CCSGec bharuch
 
Fundamentals of Telecommunication
Fundamentals of TelecommunicationFundamentals of Telecommunication
Fundamentals of TelecommunicationMohammed Eldaw
 
Microwave basics
Microwave basicsMicrowave basics
Microwave basicsIslam Saleh
 
Introduction To Wireless Fading Channels
Introduction To Wireless Fading ChannelsIntroduction To Wireless Fading Channels
Introduction To Wireless Fading ChannelsNitin Jain
 
Cellular concepts and system design fundamentals
Cellular concepts and system design fundamentalsCellular concepts and system design fundamentals
Cellular concepts and system design fundamentalsKamal Sharma
 

Was ist angesagt? (20)

Gsm, gprs, edge presentation
Gsm, gprs, edge presentationGsm, gprs, edge presentation
Gsm, gprs, edge presentation
 
Digital microwave communication principles
Digital microwave communication principles Digital microwave communication principles
Digital microwave communication principles
 
Huawei GSM Principles
Huawei GSM PrinciplesHuawei GSM Principles
Huawei GSM Principles
 
Numbering plan system
Numbering plan systemNumbering plan system
Numbering plan system
 
Layer 3 messages
Layer 3 messagesLayer 3 messages
Layer 3 messages
 
Long Term Evolution (LTE) -
Long Term Evolution (LTE) -Long Term Evolution (LTE) -
Long Term Evolution (LTE) -
 
Concept of Diversity & Fading (wireless communication)
Concept of Diversity & Fading (wireless communication)Concept of Diversity & Fading (wireless communication)
Concept of Diversity & Fading (wireless communication)
 
Fading Seminar
Fading SeminarFading Seminar
Fading Seminar
 
Walkie talkie
Walkie talkieWalkie talkie
Walkie talkie
 
Dense wavelength division multiplexing
Dense wavelength division multiplexingDense wavelength division multiplexing
Dense wavelength division multiplexing
 
Speech encoding techniques
Speech encoding techniquesSpeech encoding techniques
Speech encoding techniques
 
Signalling Techniques & Basics of CCS
Signalling Techniques & Basics of CCSSignalling Techniques & Basics of CCS
Signalling Techniques & Basics of CCS
 
Fundamentals of Telecommunication
Fundamentals of TelecommunicationFundamentals of Telecommunication
Fundamentals of Telecommunication
 
Basic of teleom gsm
Basic of teleom gsmBasic of teleom gsm
Basic of teleom gsm
 
Cellular concepts
Cellular conceptsCellular concepts
Cellular concepts
 
Microwave basics
Microwave basicsMicrowave basics
Microwave basics
 
Optical Transport Network
Optical Transport NetworkOptical Transport Network
Optical Transport Network
 
Introduction To Wireless Fading Channels
Introduction To Wireless Fading ChannelsIntroduction To Wireless Fading Channels
Introduction To Wireless Fading Channels
 
Propagation Model
Propagation ModelPropagation Model
Propagation Model
 
Cellular concepts and system design fundamentals
Cellular concepts and system design fundamentalsCellular concepts and system design fundamentals
Cellular concepts and system design fundamentals
 

Andere mochten auch

Speech Compression using LPC
Speech Compression using LPCSpeech Compression using LPC
Speech Compression using LPCDisha Modi
 
Gsm.....ppt
Gsm.....pptGsm.....ppt
Gsm.....pptbalu008
 
LPC for Speech Recognition
LPC for Speech RecognitionLPC for Speech Recognition
LPC for Speech RecognitionDr. Uday Saikia
 
Introduction to GSM - an Overview of Global System for Mobile Communication
Introduction to GSM - an Overview of Global System for Mobile CommunicationIntroduction to GSM - an Overview of Global System for Mobile Communication
Introduction to GSM - an Overview of Global System for Mobile Communicationiptvmagazine
 

Andere mochten auch (7)

Speech Compression using LPC
Speech Compression using LPCSpeech Compression using LPC
Speech Compression using LPC
 
Speech Compression
Speech CompressionSpeech Compression
Speech Compression
 
Gsm.....ppt
Gsm.....pptGsm.....ppt
Gsm.....ppt
 
LPC for Speech Recognition
LPC for Speech RecognitionLPC for Speech Recognition
LPC for Speech Recognition
 
Gsm
GsmGsm
Gsm
 
Introduction to GSM - an Overview of Global System for Mobile Communication
Introduction to GSM - an Overview of Global System for Mobile CommunicationIntroduction to GSM - an Overview of Global System for Mobile Communication
Introduction to GSM - an Overview of Global System for Mobile Communication
 
Full gsm overview (modified)
Full gsm overview  (modified)Full gsm overview  (modified)
Full gsm overview (modified)
 

Ähnlich wie Speech compression-using-gsm

IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 
Audio and video compression
Audio and video compressionAudio and video compression
Audio and video compressionneeraj9217
 
A COMPARATIVE PERFORMANCE STUDY OF OFDM SYSTEM WITH THE IMPLEMENTATION OF COM...
A COMPARATIVE PERFORMANCE STUDY OF OFDM SYSTEM WITH THE IMPLEMENTATION OF COM...A COMPARATIVE PERFORMANCE STUDY OF OFDM SYSTEM WITH THE IMPLEMENTATION OF COM...
A COMPARATIVE PERFORMANCE STUDY OF OFDM SYSTEM WITH THE IMPLEMENTATION OF COM...ijcsa
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
SISO MMSE-PIC detector in MIMO-OFDM systems
SISO MMSE-PIC detector in MIMO-OFDM systemsSISO MMSE-PIC detector in MIMO-OFDM systems
SISO MMSE-PIC detector in MIMO-OFDM systemsIJMER
 
Designing and Performance Evaluation of 64 QAM OFDM System
Designing and Performance Evaluation of 64 QAM OFDM SystemDesigning and Performance Evaluation of 64 QAM OFDM System
Designing and Performance Evaluation of 64 QAM OFDM SystemIOSR Journals
 
Designing and Performance Evaluation of 64 QAM OFDM System
Designing and Performance Evaluation of 64 QAM OFDM SystemDesigning and Performance Evaluation of 64 QAM OFDM System
Designing and Performance Evaluation of 64 QAM OFDM SystemIOSR Journals
 
linear equalizer and turbo equalizer
linear equalizer and turbo equalizerlinear equalizer and turbo equalizer
linear equalizer and turbo equalizerDivya_mtech
 
Final presentation
Final presentationFinal presentation
Final presentationRohan Lad
 
TeleCom Lecture 07.ppt
TeleCom Lecture 07.pptTeleCom Lecture 07.ppt
TeleCom Lecture 07.pptRiyaBatool
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Implementation of channel estimation algorithms in ofdm for 64 subcarriers
Implementation of channel estimation algorithms in ofdm for 64 subcarriersImplementation of channel estimation algorithms in ofdm for 64 subcarriers
Implementation of channel estimation algorithms in ofdm for 64 subcarriersIAEME Publication
 
An Adaptive Approach to Switching Coded Modulation in OFDM System Under AWGN ...
An Adaptive Approach to Switching Coded Modulation in OFDM System Under AWGN ...An Adaptive Approach to Switching Coded Modulation in OFDM System Under AWGN ...
An Adaptive Approach to Switching Coded Modulation in OFDM System Under AWGN ...ijsrd.com
 

Ähnlich wie Speech compression-using-gsm (20)

IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Audio and video compression
Audio and video compressionAudio and video compression
Audio and video compression
 
A COMPARATIVE PERFORMANCE STUDY OF OFDM SYSTEM WITH THE IMPLEMENTATION OF COM...
A COMPARATIVE PERFORMANCE STUDY OF OFDM SYSTEM WITH THE IMPLEMENTATION OF COM...A COMPARATIVE PERFORMANCE STUDY OF OFDM SYSTEM WITH THE IMPLEMENTATION OF COM...
A COMPARATIVE PERFORMANCE STUDY OF OFDM SYSTEM WITH THE IMPLEMENTATION OF COM...
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
SISO MMSE-PIC detector in MIMO-OFDM systems
SISO MMSE-PIC detector in MIMO-OFDM systemsSISO MMSE-PIC detector in MIMO-OFDM systems
SISO MMSE-PIC detector in MIMO-OFDM systems
 
[IJET V2I3P1] Authors: G Hemanth kumar Dr. M. Saravanan, Charan kumar. K
[IJET V2I3P1] Authors: G Hemanth kumar Dr. M. Saravanan, Charan kumar. K[IJET V2I3P1] Authors: G Hemanth kumar Dr. M. Saravanan, Charan kumar. K
[IJET V2I3P1] Authors: G Hemanth kumar Dr. M. Saravanan, Charan kumar. K
 
Designing and Performance Evaluation of 64 QAM OFDM System
Designing and Performance Evaluation of 64 QAM OFDM SystemDesigning and Performance Evaluation of 64 QAM OFDM System
Designing and Performance Evaluation of 64 QAM OFDM System
 
Designing and Performance Evaluation of 64 QAM OFDM System
Designing and Performance Evaluation of 64 QAM OFDM SystemDesigning and Performance Evaluation of 64 QAM OFDM System
Designing and Performance Evaluation of 64 QAM OFDM System
 
linear equalizer and turbo equalizer
linear equalizer and turbo equalizerlinear equalizer and turbo equalizer
linear equalizer and turbo equalizer
 
Final presentation
Final presentationFinal presentation
Final presentation
 
Co35503507
Co35503507Co35503507
Co35503507
 
TeleCom Lecture 07.ppt
TeleCom Lecture 07.pptTeleCom Lecture 07.ppt
TeleCom Lecture 07.ppt
 
pstn.pptx
pstn.pptxpstn.pptx
pstn.pptx
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Implementation of channel estimation algorithms in ofdm for 64 subcarriers
Implementation of channel estimation algorithms in ofdm for 64 subcarriersImplementation of channel estimation algorithms in ofdm for 64 subcarriers
Implementation of channel estimation algorithms in ofdm for 64 subcarriers
 
digital communication.pdf
digital communication.pdfdigital communication.pdf
digital communication.pdf
 
Ijetr021253
Ijetr021253Ijetr021253
Ijetr021253
 
Aj04605254258
Aj04605254258Aj04605254258
Aj04605254258
 
An Adaptive Approach to Switching Coded Modulation in OFDM System Under AWGN ...
An Adaptive Approach to Switching Coded Modulation in OFDM System Under AWGN ...An Adaptive Approach to Switching Coded Modulation in OFDM System Under AWGN ...
An Adaptive Approach to Switching Coded Modulation in OFDM System Under AWGN ...
 
Speech coding std
Speech coding stdSpeech coding std
Speech coding std
 

Kürzlich hochgeladen

So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Nikki Chapple
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...Karmanjay Verma
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
WomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneWomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneUiPathCommunity
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialJoão Esperancinha
 

Kürzlich hochgeladen (20)

So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
WomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneWomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyone
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorial
 

Speech compression-using-gsm

  • 1. Speech Compression using GSM RPE-LTP Faiza Nawaz Bisma Hashmi Mehrin Kiani
  • 2. 2 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.)
  • 4. 4 What is Speech?  Speech Generation:
  • 5. 5 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
  • 6. 6 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.
  • 7. 7 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.
  • 8. 8 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
  • 9. 9 GSM Compression Technologies  Four compression technologies are:  Full Rate  Enhanced Full Rate (EFR)  Adaptive Multi-Rate (AMR)  Half Rate
  • 10. 10 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.
  • 11. 11 GSM Full Rate Vocoder Using RPE-LTP (…contd)  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.)
  • 12. 12 LPC Speech Generation  The model of speech generation can be thought of as air passing through a set of different size cylinders.
  • 13. 13 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.
  • 14. 14  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[0]*s[n--1]+lpc[1]*s[n--2]+_+lpc[P--1]*s[n--P] (P is usually between 8 and 14, GSM uses 8.) Short Term Analysis Stage (…contd)
  • 15. 15 Long Term Prediction Stage  The 160 samples are split into 4 sub-windows of 40 samples each.
  • 16. 16  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. Long Term Prediction Stage (…contd)
  • 17. 17 Calculating Lag and Gain  LAG: Compute resemblance by correlation. correlation of x[n] and y[n] = Sum of products x[n]*y[n-lag]  GAIN: Maximum correlation divided by the energy of the reconstructed short-term residual signal.
  • 18. 18 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.
  • 19. 19 Residual Signal(…contd)  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
  • 20. 20 Speech Decoder  Decoder consists of three parts  RPE Decoding  LTP synthesis filter  LPC short term synthesis filter
  • 22. 22 Speech Decoder (…contd)  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