SlideShare a Scribd company logo
1 of 17
Maximizing Audio Quality
(A Linear programming Problem)

Team Members:
• Shailendra Shankar Gautam
• Abhay Kumar
• Ankit Katiyar
• Dharm Jaiswal
• Sharad Srivastava

-

12810075
12810001
12810010
12810029
12810076
Problems
 Current Internet still provides best efforts service
 No Guarantee of performance for real time multimedia application

 Multimedia typically uses UDP
 Not reliable
 No congestion control

 Multimedia traffic is normally subject to
 Restricted available bandwidth
 Delay, Delay jitter
 Loss of packets
Control Mechanisms
 Mechanisms which
 Dynamically adapt the behavior of the audio application to

maximize the audio quality under the constraints of
• Restricted bandwidth
• Delay
• Packet Loss
• Jitter

present in the network at that point of time
Audio Compression Techniques
(codecs)
 Current codecs have a diverse range in terms of

degree of compression (bitrates) and underlying
technologies
 Thus the quality of an IP telephony call is highly

dependent on the codecs and their reaction to
available bandwidth, link delays and packet loss.
Mean Opinion Score (MOS)
 Described in ITU recommendation P.800
 Formal subjective measure if voice quality
 Real number – Between 1 to 5
 Toll Quality – Quality with MOS between 4 and

4.3
 Communication Quality – Between 3.5 and 4
 Lower bound for acceptability of a speech – 3.5
 MOS has been determined for every codec under
the ideal condition of no loss.
Examples of codecs
Codec

Technology Bitrate (ms) MOS

PCM µ-law

Waveform

64

4.3

G.721

Waveform

32

4.0

GSM fullrate

RPE-LTP

13

3.7

G.728

LD-CELP

8

4.0

G.723.1

MP-MLQ CELP

5.6

3.9
Bandwidth Constraint
 End to End available bandwidth – the maximum

rate that the path can provide to a flow
 Depends upon the utilization of various links in the

path in presence of cross traffic
 Less than or equal to capacity of the path – The
maximum rate a path can provide to a flow, wwhen
there is no other traffic in the path
Bandwidth Constraint (contd..)
 In underutilized network we can use high bitrate codecs
 which will consume more bandwidth
 but will generate high quality

 But switch to low bitrate codecs when available

bandwidth gets tighter
 It is possible to mix multiple codecs in a certain ratio for

bandwidth optimization ensuring that the audio quality
provided is optimum for the user.
Delay Constraint
 Delay of the path

 Propagation delay of individual links
 Queuing delay at individual hops/routers

 Delay inherent to the codec
T(codec) = T(enc.) + T(dec.) + T(LA)

 Total delay must be under the constraint of tolerable

Mouth-to-Ear (M2E) delay

 The time that elapses between the moment the talker utters the

words and the moment the listener hears them
 Must be under 400 ms (ITU recommendation G.114 & G.131)
The LP Problem
Maximizes the audio quality under the constraint of available bandwidth and link delay
Maximizes MOS (z) = c1x1 + c2x2 + ….. + cnxn
Subject to;
b1x1 + b2x2 + ….. + bnxn <= B
/*bandwidth constraint*/
d1x1 + d2x2 + ….. + dnxn <= D

/*delay constraint*/

c1x1 + c2x2 + ….. + cnxn <= 4.3

/*max possible MOS attainable by codec*/

c1x1 + c2x2 + ….. + cnxn >= 3.5

/*lower bound of acceptable MOS score*/

x1 + x2 + ….. + xn= 1

/*total of all percentage*/
The LP Problem (contd..)
Where
x1, x2 ….., xn = percentage of each codec in transmission mixing
c1, c2 ….., cn = MOS value for each codec
b1, b2 ….., bn = bitrates for each codec
d1, d2 ….., dn = (packet size in bytes)*(encoding/decoding delay
to create/decode 1 byte)
B = Available bandwidth
D = 400 ms (link one way delay)
Implementation
Codec

Bitrate
(kbps)

MOS

Delay for Packet
1 byte
size
(ms)
(bytes)

PCM µ-law

64

4.3

0.50

200

G.721

32

4.0

1.00

200

GSM fullrate

13

3.7

2.42

198

G.728

8

4.0

2.50

200

G.723.1

5.6

3.9

6.00

210

The delay values for each codec has been determined based on existing literature and
experiment.
Implementation (contd..)
The formulation of this particular linear programming problem is
thus:
Maximizes MOS (z) = 4.3x1 + 4.0x2 + 3.7x3 + 4.0x4 + 3.9x5
Subject to;
64x1 + 32x2 + 13x3 + 8x4 + 5.6x5 <= B
0.1x1 + 0.2x2 + 0.48x3 + 0.5x4 + 1.26x5 <= D
4.3x1 + 4x2 + 3.7x3 + 4x4 + 3.9x5 <= 4.3
4.3x1 + 4x2 + 3.7x3 + 4x4 + 3.9x5 >= 3.5
x1 + x2 + x3 + x4 + x5 = 1
Xi >= 0 where i = 1,2,3,4,5
Solution
High bandwidth availability (500) and low delay (40)
Solution
High bandwidth availability (500) and low delay (40)
Result
Sr. No. Network
Condition

Available
1 way
bandwidth delay (ms)

Solution

Optimum
MOS value

1

High available bw/Low
Delay

500

40

X1=1, X2=0,
X3=0, X4=0,
X5=0

4.30

2

High available bw/High
Delay

100

150

X1=1, X2=0,
X3=0, X4=0,
X5=0

4.30

3

Med available
bandwidth/High delay

50

140

X1=0.75, X2=0,
X3=0, X4=0.25,
X5=0

4.225

4

Low available bw/Low
Delay

30

40

X1=0.39, X2=0,
X3=0.61, X4=0,
X5=0

4.11

5

Low available bw/High
Delay

30

150

X1=0.083,
X2=0.722, X3=0,
X4=0.194, X5=0

4.025

6

Very Low available
bw/High delay

20

150

Infeasible!!

-
Thank You!! 

More Related Content

What's hot

Multimedia networking
Multimedia networkingMultimedia networking
Multimedia networkingKikima Jimmy
 
Adv multimedia2k7 1_s
Adv multimedia2k7 1_sAdv multimedia2k7 1_s
Adv multimedia2k7 1_sKevin Man
 
Multiplexing and Multiple Access
Multiplexing and Multiple AccessMultiplexing and Multiple Access
Multiplexing and Multiple AccessRidwanul Hoque
 
Multiple access techniques
Multiple access techniquesMultiple access techniques
Multiple access techniquesBibhu Prasad
 
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...CA Technologies
 
8The Affects of Different Queuing Algorithms within the Router on QoS VoIP a...
8The Affects of Different Queuing Algorithms  within the Router on QoS VoIP a...8The Affects of Different Queuing Algorithms  within the Router on QoS VoIP a...
8The Affects of Different Queuing Algorithms within the Router on QoS VoIP a...IJCNC
 
Comparisons of QoS in VoIP over WIMAX by Varying the Voice codes and Buffer size
Comparisons of QoS in VoIP over WIMAX by Varying the Voice codes and Buffer sizeComparisons of QoS in VoIP over WIMAX by Varying the Voice codes and Buffer size
Comparisons of QoS in VoIP over WIMAX by Varying the Voice codes and Buffer sizeEditor IJCATR
 
(Paper) MTcast: Robust and Efficient P2P-based Video Delivery for Heterogeneo...
(Paper) MTcast: Robust and Efficient P2P-based Video Delivery for Heterogeneo...(Paper) MTcast: Robust and Efficient P2P-based Video Delivery for Heterogeneo...
(Paper) MTcast: Robust and Efficient P2P-based Video Delivery for Heterogeneo...Naoki Shibata
 
Opportunistic and playback sensitive scheduling for video streaming
Opportunistic and playback sensitive scheduling for video streamingOpportunistic and playback sensitive scheduling for video streaming
Opportunistic and playback sensitive scheduling for video streamingijwmn
 
multiple access techniques for wireless communication
multiple access techniques for wireless communicationmultiple access techniques for wireless communication
multiple access techniques for wireless communicationSajid ali
 

What's hot (20)

Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Multimedia networking
Multimedia networkingMultimedia networking
Multimedia networking
 
Adv multimedia2k7 1_s
Adv multimedia2k7 1_sAdv multimedia2k7 1_s
Adv multimedia2k7 1_s
 
Multiplexing and Multiple Access
Multiplexing and Multiple AccessMultiplexing and Multiple Access
Multiplexing and Multiple Access
 
network devices, types of delay
network devices, types of delaynetwork devices, types of delay
network devices, types of delay
 
Unit_I - 3
Unit_I - 3Unit_I - 3
Unit_I - 3
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Multiple access techniques
Multiple access techniquesMultiple access techniques
Multiple access techniques
 
08 multiplexing
08 multiplexing08 multiplexing
08 multiplexing
 
Tdm and fdm
Tdm and fdmTdm and fdm
Tdm and fdm
 
Network delay
Network delayNetwork delay
Network delay
 
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
 
8The Affects of Different Queuing Algorithms within the Router on QoS VoIP a...
8The Affects of Different Queuing Algorithms  within the Router on QoS VoIP a...8The Affects of Different Queuing Algorithms  within the Router on QoS VoIP a...
8The Affects of Different Queuing Algorithms within the Router on QoS VoIP a...
 
Comparisons of QoS in VoIP over WIMAX by Varying the Voice codes and Buffer size
Comparisons of QoS in VoIP over WIMAX by Varying the Voice codes and Buffer sizeComparisons of QoS in VoIP over WIMAX by Varying the Voice codes and Buffer size
Comparisons of QoS in VoIP over WIMAX by Varying the Voice codes and Buffer size
 
(Paper) MTcast: Robust and Efficient P2P-based Video Delivery for Heterogeneo...
(Paper) MTcast: Robust and Efficient P2P-based Video Delivery for Heterogeneo...(Paper) MTcast: Robust and Efficient P2P-based Video Delivery for Heterogeneo...
(Paper) MTcast: Robust and Efficient P2P-based Video Delivery for Heterogeneo...
 
Opportunistic and playback sensitive scheduling for video streaming
Opportunistic and playback sensitive scheduling for video streamingOpportunistic and playback sensitive scheduling for video streaming
Opportunistic and playback sensitive scheduling for video streaming
 
Unit_I - 2
Unit_I - 2Unit_I - 2
Unit_I - 2
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Computer Networks: Quality of service
Computer Networks: Quality of serviceComputer Networks: Quality of service
Computer Networks: Quality of service
 
multiple access techniques for wireless communication
multiple access techniques for wireless communicationmultiple access techniques for wireless communication
multiple access techniques for wireless communication
 

Viewers also liked

Presentation - Sales & Distribution at ITC
Presentation - Sales & Distribution at ITCPresentation - Sales & Distribution at ITC
Presentation - Sales & Distribution at ITCSharad Srivastava
 
IT Case Study - SAP CRM in Asian Paints
IT Case Study - SAP CRM in Asian PaintsIT Case Study - SAP CRM in Asian Paints
IT Case Study - SAP CRM in Asian PaintsSharad Srivastava
 
Business Case - SCM Implementation
Business Case - SCM ImplementationBusiness Case - SCM Implementation
Business Case - SCM ImplementationSharad Srivastava
 
Key Steps For Planning A Successful Business Intelligence Dashboard Project
Key Steps For Planning A Successful Business Intelligence Dashboard ProjectKey Steps For Planning A Successful Business Intelligence Dashboard Project
Key Steps For Planning A Successful Business Intelligence Dashboard ProjectKelly Cebold
 
Data Analytics Project Plan
Data Analytics Project PlanData Analytics Project Plan
Data Analytics Project PlanJelilat Adesiyan
 
Presentation - Scope and Schedule Management of Business Analytics Project
Presentation - Scope and Schedule Management of Business Analytics ProjectPresentation - Scope and Schedule Management of Business Analytics Project
Presentation - Scope and Schedule Management of Business Analytics ProjectSharad Srivastava
 
Report - Colgate Financial Analysis
Report - Colgate Financial AnalysisReport - Colgate Financial Analysis
Report - Colgate Financial AnalysisSharad Srivastava
 
Statistics Case Study - Stepwise Multiple Regression
Statistics Case Study - Stepwise Multiple RegressionStatistics Case Study - Stepwise Multiple Regression
Statistics Case Study - Stepwise Multiple RegressionSharad Srivastava
 
Case Study on Business Intelligence
Case Study on Business IntelligenceCase Study on Business Intelligence
Case Study on Business IntelligenceNewGate India
 

Viewers also liked (11)

Presentation - Sales & Distribution at ITC
Presentation - Sales & Distribution at ITCPresentation - Sales & Distribution at ITC
Presentation - Sales & Distribution at ITC
 
IT Case Study - SAP CRM in Asian Paints
IT Case Study - SAP CRM in Asian PaintsIT Case Study - SAP CRM in Asian Paints
IT Case Study - SAP CRM in Asian Paints
 
Business Case - SCM Implementation
Business Case - SCM ImplementationBusiness Case - SCM Implementation
Business Case - SCM Implementation
 
Key Steps For Planning A Successful Business Intelligence Dashboard Project
Key Steps For Planning A Successful Business Intelligence Dashboard ProjectKey Steps For Planning A Successful Business Intelligence Dashboard Project
Key Steps For Planning A Successful Business Intelligence Dashboard Project
 
Report - Retail Sector
Report - Retail SectorReport - Retail Sector
Report - Retail Sector
 
Data Analytics Project Plan
Data Analytics Project PlanData Analytics Project Plan
Data Analytics Project Plan
 
Presentation - Scope and Schedule Management of Business Analytics Project
Presentation - Scope and Schedule Management of Business Analytics ProjectPresentation - Scope and Schedule Management of Business Analytics Project
Presentation - Scope and Schedule Management of Business Analytics Project
 
Report - Colgate Financial Analysis
Report - Colgate Financial AnalysisReport - Colgate Financial Analysis
Report - Colgate Financial Analysis
 
Report - South Africa
Report - South AfricaReport - South Africa
Report - South Africa
 
Statistics Case Study - Stepwise Multiple Regression
Statistics Case Study - Stepwise Multiple RegressionStatistics Case Study - Stepwise Multiple Regression
Statistics Case Study - Stepwise Multiple Regression
 
Case Study on Business Intelligence
Case Study on Business IntelligenceCase Study on Business Intelligence
Case Study on Business Intelligence
 

Similar to Linear Programming Case Study - Maximizing Audio Quality

Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission FundamentalsAisu
 
3. digital transmission fundamentals
3. digital transmission fundamentals3. digital transmission fundamentals
3. digital transmission fundamentalsRovin Valencia
 
Multimedia
MultimediaMultimedia
MultimediaBUDNET
 
MM_Conferencing.ppt
MM_Conferencing.pptMM_Conferencing.ppt
MM_Conferencing.pptVideoguy
 
Advances in Network-adaptive Video Streaming
Advances in Network-adaptive Video StreamingAdvances in Network-adaptive Video Streaming
Advances in Network-adaptive Video StreamingVideoguy
 
Digitization of Audio.ppt
Digitization of Audio.pptDigitization of Audio.ppt
Digitization of Audio.pptVideoguy
 
Audio/Video Streaming over 802.11
Audio/Video Streaming over 802.11Audio/Video Streaming over 802.11
Audio/Video Streaming over 802.11Videoguy
 
Development of a Multipurpose Audio Transmission System on the Internet
Development of a Multipurpose Audio Transmission System on the InternetDevelopment of a Multipurpose Audio Transmission System on the Internet
Development of a Multipurpose Audio Transmission System on the InternetTakashi Kishida
 
powerpoint
powerpointpowerpoint
powerpointVideoguy
 
25143515-Wireless-Communication.ppt
25143515-Wireless-Communication.ppt25143515-Wireless-Communication.ppt
25143515-Wireless-Communication.ppt10ADWAITHSECE
 
Evolution of Wireless Communications
Evolution of Wireless CommunicationsEvolution of Wireless Communications
Evolution of Wireless CommunicationsUday Kumar
 
Evolution of Wireless Communications
Evolution of Wireless CommunicationsEvolution of Wireless Communications
Evolution of Wireless CommunicationsUday Kumar
 
Performance Analysis of Optical Code Division Multiple Access (OCDMA) System
Performance Analysis of Optical Code Division Multiple Access (OCDMA) SystemPerformance Analysis of Optical Code Division Multiple Access (OCDMA) System
Performance Analysis of Optical Code Division Multiple Access (OCDMA) SystemIJERA Editor
 

Similar to Linear Programming Case Study - Maximizing Audio Quality (20)

Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission Fundamentals
 
Mk3422222228
Mk3422222228Mk3422222228
Mk3422222228
 
3. digital transmission fundamentals
3. digital transmission fundamentals3. digital transmission fundamentals
3. digital transmission fundamentals
 
Multimedia
MultimediaMultimedia
Multimedia
 
MM_Conferencing.ppt
MM_Conferencing.pptMM_Conferencing.ppt
MM_Conferencing.ppt
 
Advances in Network-adaptive Video Streaming
Advances in Network-adaptive Video StreamingAdvances in Network-adaptive Video Streaming
Advances in Network-adaptive Video Streaming
 
08 multiplexing
08 multiplexing08 multiplexing
08 multiplexing
 
Transmission media
Transmission mediaTransmission media
Transmission media
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Digitization of Audio.ppt
Digitization of Audio.pptDigitization of Audio.ppt
Digitization of Audio.ppt
 
Audio/Video Streaming over 802.11
Audio/Video Streaming over 802.11Audio/Video Streaming over 802.11
Audio/Video Streaming over 802.11
 
Development of a Multipurpose Audio Transmission System on the Internet
Development of a Multipurpose Audio Transmission System on the InternetDevelopment of a Multipurpose Audio Transmission System on the Internet
Development of a Multipurpose Audio Transmission System on the Internet
 
seminar4
seminar4seminar4
seminar4
 
Multimedia
Multimedia Multimedia
Multimedia
 
Lecture 12
Lecture 12Lecture 12
Lecture 12
 
powerpoint
powerpointpowerpoint
powerpoint
 
25143515-Wireless-Communication.ppt
25143515-Wireless-Communication.ppt25143515-Wireless-Communication.ppt
25143515-Wireless-Communication.ppt
 
Evolution of Wireless Communications
Evolution of Wireless CommunicationsEvolution of Wireless Communications
Evolution of Wireless Communications
 
Evolution of Wireless Communications
Evolution of Wireless CommunicationsEvolution of Wireless Communications
Evolution of Wireless Communications
 
Performance Analysis of Optical Code Division Multiple Access (OCDMA) System
Performance Analysis of Optical Code Division Multiple Access (OCDMA) SystemPerformance Analysis of Optical Code Division Multiple Access (OCDMA) System
Performance Analysis of Optical Code Division Multiple Access (OCDMA) System
 

More from Sharad Srivastava

Presentation - Electronic Data Interchange
Presentation - Electronic Data InterchangePresentation - Electronic Data Interchange
Presentation - Electronic Data InterchangeSharad Srivastava
 
Report - Risk Management in Banks
Report - Risk Management in BanksReport - Risk Management in Banks
Report - Risk Management in BanksSharad Srivastava
 
Presentation - Working Capital Management
Presentation - Working Capital ManagementPresentation - Working Capital Management
Presentation - Working Capital ManagementSharad Srivastava
 
Marketing Case Study - Starbucks
Marketing Case Study - StarbucksMarketing Case Study - Starbucks
Marketing Case Study - StarbucksSharad Srivastava
 
Strategy Report - Daurala Sugar Works
Strategy Report - Daurala Sugar WorksStrategy Report - Daurala Sugar Works
Strategy Report - Daurala Sugar WorksSharad Srivastava
 
Presentation - Rational Unified Process
Presentation - Rational Unified ProcessPresentation - Rational Unified Process
Presentation - Rational Unified ProcessSharad Srivastava
 
Term Paper - Quality Assurance in Software Development
Term Paper - Quality Assurance in Software DevelopmentTerm Paper - Quality Assurance in Software Development
Term Paper - Quality Assurance in Software DevelopmentSharad Srivastava
 
Software Requirement Specification - Interest Rate Management
Software Requirement Specification - Interest Rate ManagementSoftware Requirement Specification - Interest Rate Management
Software Requirement Specification - Interest Rate ManagementSharad Srivastava
 
Presentation - The Negotiable Instruments Act 1881
Presentation - The Negotiable Instruments Act 1881Presentation - The Negotiable Instruments Act 1881
Presentation - The Negotiable Instruments Act 1881Sharad Srivastava
 
Marketing Strategy - Daurala Sugar Works
Marketing Strategy - Daurala Sugar WorksMarketing Strategy - Daurala Sugar Works
Marketing Strategy - Daurala Sugar WorksSharad Srivastava
 
Presentation - Microfinance in India
Presentation - Microfinance in IndiaPresentation - Microfinance in India
Presentation - Microfinance in IndiaSharad Srivastava
 
ERP Case Study - Warehouse Management System
ERP Case Study - Warehouse Management SystemERP Case Study - Warehouse Management System
ERP Case Study - Warehouse Management SystemSharad Srivastava
 
Organisation Case Study - Restructuring at Mayekawa
Organisation Case Study - Restructuring at MayekawaOrganisation Case Study - Restructuring at Mayekawa
Organisation Case Study - Restructuring at MayekawaSharad Srivastava
 
Marketing Case Study - Saffola Journey
Marketing Case Study - Saffola JourneyMarketing Case Study - Saffola Journey
Marketing Case Study - Saffola JourneySharad Srivastava
 
Business Proposal - IT Project
Business Proposal - IT ProjectBusiness Proposal - IT Project
Business Proposal - IT ProjectSharad Srivastava
 

More from Sharad Srivastava (19)

Presentation - Electronic Data Interchange
Presentation - Electronic Data InterchangePresentation - Electronic Data Interchange
Presentation - Electronic Data Interchange
 
Report - Risk Management in Banks
Report - Risk Management in BanksReport - Risk Management in Banks
Report - Risk Management in Banks
 
Report - Monetary Policy
Report - Monetary PolicyReport - Monetary Policy
Report - Monetary Policy
 
Presentation - Working Capital Management
Presentation - Working Capital ManagementPresentation - Working Capital Management
Presentation - Working Capital Management
 
Marketing Case Study - Starbucks
Marketing Case Study - StarbucksMarketing Case Study - Starbucks
Marketing Case Study - Starbucks
 
Strategy Report - Daurala Sugar Works
Strategy Report - Daurala Sugar WorksStrategy Report - Daurala Sugar Works
Strategy Report - Daurala Sugar Works
 
Presentation - Rational Unified Process
Presentation - Rational Unified ProcessPresentation - Rational Unified Process
Presentation - Rational Unified Process
 
Presentation - SERVQUAL
Presentation - SERVQUALPresentation - SERVQUAL
Presentation - SERVQUAL
 
Term Paper - Quality Assurance in Software Development
Term Paper - Quality Assurance in Software DevelopmentTerm Paper - Quality Assurance in Software Development
Term Paper - Quality Assurance in Software Development
 
Software Requirement Specification - Interest Rate Management
Software Requirement Specification - Interest Rate ManagementSoftware Requirement Specification - Interest Rate Management
Software Requirement Specification - Interest Rate Management
 
Presentation - The Negotiable Instruments Act 1881
Presentation - The Negotiable Instruments Act 1881Presentation - The Negotiable Instruments Act 1881
Presentation - The Negotiable Instruments Act 1881
 
Marketing Strategy - Daurala Sugar Works
Marketing Strategy - Daurala Sugar WorksMarketing Strategy - Daurala Sugar Works
Marketing Strategy - Daurala Sugar Works
 
Presentation - Microfinance in India
Presentation - Microfinance in IndiaPresentation - Microfinance in India
Presentation - Microfinance in India
 
ERP Case Study - Warehouse Management System
ERP Case Study - Warehouse Management SystemERP Case Study - Warehouse Management System
ERP Case Study - Warehouse Management System
 
Organisation Case Study - Restructuring at Mayekawa
Organisation Case Study - Restructuring at MayekawaOrganisation Case Study - Restructuring at Mayekawa
Organisation Case Study - Restructuring at Mayekawa
 
Marketing Plan - Multiplex
Marketing Plan - MultiplexMarketing Plan - Multiplex
Marketing Plan - Multiplex
 
Marketing Case Study - Saffola Journey
Marketing Case Study - Saffola JourneyMarketing Case Study - Saffola Journey
Marketing Case Study - Saffola Journey
 
Report - Indian Tax System
Report - Indian Tax SystemReport - Indian Tax System
Report - Indian Tax System
 
Business Proposal - IT Project
Business Proposal - IT ProjectBusiness Proposal - IT Project
Business Proposal - IT Project
 

Recently uploaded

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 

Recently uploaded (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 

Linear Programming Case Study - Maximizing Audio Quality

  • 1. Maximizing Audio Quality (A Linear programming Problem) Team Members: • Shailendra Shankar Gautam • Abhay Kumar • Ankit Katiyar • Dharm Jaiswal • Sharad Srivastava - 12810075 12810001 12810010 12810029 12810076
  • 2. Problems  Current Internet still provides best efforts service  No Guarantee of performance for real time multimedia application  Multimedia typically uses UDP  Not reliable  No congestion control  Multimedia traffic is normally subject to  Restricted available bandwidth  Delay, Delay jitter  Loss of packets
  • 3. Control Mechanisms  Mechanisms which  Dynamically adapt the behavior of the audio application to maximize the audio quality under the constraints of • Restricted bandwidth • Delay • Packet Loss • Jitter present in the network at that point of time
  • 4. Audio Compression Techniques (codecs)  Current codecs have a diverse range in terms of degree of compression (bitrates) and underlying technologies  Thus the quality of an IP telephony call is highly dependent on the codecs and their reaction to available bandwidth, link delays and packet loss.
  • 5. Mean Opinion Score (MOS)  Described in ITU recommendation P.800  Formal subjective measure if voice quality  Real number – Between 1 to 5  Toll Quality – Quality with MOS between 4 and 4.3  Communication Quality – Between 3.5 and 4  Lower bound for acceptability of a speech – 3.5  MOS has been determined for every codec under the ideal condition of no loss.
  • 6. Examples of codecs Codec Technology Bitrate (ms) MOS PCM µ-law Waveform 64 4.3 G.721 Waveform 32 4.0 GSM fullrate RPE-LTP 13 3.7 G.728 LD-CELP 8 4.0 G.723.1 MP-MLQ CELP 5.6 3.9
  • 7. Bandwidth Constraint  End to End available bandwidth – the maximum rate that the path can provide to a flow  Depends upon the utilization of various links in the path in presence of cross traffic  Less than or equal to capacity of the path – The maximum rate a path can provide to a flow, wwhen there is no other traffic in the path
  • 8. Bandwidth Constraint (contd..)  In underutilized network we can use high bitrate codecs  which will consume more bandwidth  but will generate high quality  But switch to low bitrate codecs when available bandwidth gets tighter  It is possible to mix multiple codecs in a certain ratio for bandwidth optimization ensuring that the audio quality provided is optimum for the user.
  • 9. Delay Constraint  Delay of the path  Propagation delay of individual links  Queuing delay at individual hops/routers  Delay inherent to the codec T(codec) = T(enc.) + T(dec.) + T(LA)  Total delay must be under the constraint of tolerable Mouth-to-Ear (M2E) delay  The time that elapses between the moment the talker utters the words and the moment the listener hears them  Must be under 400 ms (ITU recommendation G.114 & G.131)
  • 10. The LP Problem Maximizes the audio quality under the constraint of available bandwidth and link delay Maximizes MOS (z) = c1x1 + c2x2 + ….. + cnxn Subject to; b1x1 + b2x2 + ….. + bnxn <= B /*bandwidth constraint*/ d1x1 + d2x2 + ….. + dnxn <= D /*delay constraint*/ c1x1 + c2x2 + ….. + cnxn <= 4.3 /*max possible MOS attainable by codec*/ c1x1 + c2x2 + ….. + cnxn >= 3.5 /*lower bound of acceptable MOS score*/ x1 + x2 + ….. + xn= 1 /*total of all percentage*/
  • 11. The LP Problem (contd..) Where x1, x2 ….., xn = percentage of each codec in transmission mixing c1, c2 ….., cn = MOS value for each codec b1, b2 ….., bn = bitrates for each codec d1, d2 ….., dn = (packet size in bytes)*(encoding/decoding delay to create/decode 1 byte) B = Available bandwidth D = 400 ms (link one way delay)
  • 12. Implementation Codec Bitrate (kbps) MOS Delay for Packet 1 byte size (ms) (bytes) PCM µ-law 64 4.3 0.50 200 G.721 32 4.0 1.00 200 GSM fullrate 13 3.7 2.42 198 G.728 8 4.0 2.50 200 G.723.1 5.6 3.9 6.00 210 The delay values for each codec has been determined based on existing literature and experiment.
  • 13. Implementation (contd..) The formulation of this particular linear programming problem is thus: Maximizes MOS (z) = 4.3x1 + 4.0x2 + 3.7x3 + 4.0x4 + 3.9x5 Subject to; 64x1 + 32x2 + 13x3 + 8x4 + 5.6x5 <= B 0.1x1 + 0.2x2 + 0.48x3 + 0.5x4 + 1.26x5 <= D 4.3x1 + 4x2 + 3.7x3 + 4x4 + 3.9x5 <= 4.3 4.3x1 + 4x2 + 3.7x3 + 4x4 + 3.9x5 >= 3.5 x1 + x2 + x3 + x4 + x5 = 1 Xi >= 0 where i = 1,2,3,4,5
  • 14. Solution High bandwidth availability (500) and low delay (40)
  • 15. Solution High bandwidth availability (500) and low delay (40)
  • 16. Result Sr. No. Network Condition Available 1 way bandwidth delay (ms) Solution Optimum MOS value 1 High available bw/Low Delay 500 40 X1=1, X2=0, X3=0, X4=0, X5=0 4.30 2 High available bw/High Delay 100 150 X1=1, X2=0, X3=0, X4=0, X5=0 4.30 3 Med available bandwidth/High delay 50 140 X1=0.75, X2=0, X3=0, X4=0.25, X5=0 4.225 4 Low available bw/Low Delay 30 40 X1=0.39, X2=0, X3=0.61, X4=0, X5=0 4.11 5 Low available bw/High Delay 30 150 X1=0.083, X2=0.722, X3=0, X4=0.194, X5=0 4.025 6 Very Low available bw/High delay 20 150 Infeasible!! -