SlideShare uma empresa Scribd logo
1 de 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!! 

Mais conteúdo relacionado

Mais procurados

Adv multimedia2k7 1_s
Adv multimedia2k7 1_sAdv multimedia2k7 1_s
Adv multimedia2k7 1_s
Kevin Man
 
Multiplexing and Multiple Access
Multiplexing and Multiple AccessMultiplexing and Multiple Access
Multiplexing and Multiple Access
Ridwanul Hoque
 

Mais procurados (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
 

Destaque (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
 

Semelhante a Linear Programming Case Study - Maximizing Audio Quality

Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission Fundamentals
Aisu
 
3. digital transmission fundamentals
3. digital transmission fundamentals3. digital transmission fundamentals
3. digital transmission fundamentals
Rovin Valencia
 
MM_Conferencing.ppt
MM_Conferencing.pptMM_Conferencing.ppt
MM_Conferencing.ppt
Videoguy
 
Advances in Network-adaptive Video Streaming
Advances in Network-adaptive Video StreamingAdvances in Network-adaptive Video Streaming
Advances in Network-adaptive Video Streaming
Videoguy
 
Digitization of Audio.ppt
Digitization of Audio.pptDigitization of Audio.ppt
Digitization of Audio.ppt
Videoguy
 
Audio/Video Streaming over 802.11
Audio/Video Streaming over 802.11Audio/Video Streaming over 802.11
Audio/Video Streaming over 802.11
Videoguy
 
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
Takashi Kishida
 
powerpoint
powerpointpowerpoint
powerpoint
Videoguy
 

Semelhante a 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
 

Mais de Sharad Srivastava

Presentation - Electronic Data Interchange
Presentation - Electronic Data InterchangePresentation - Electronic Data Interchange
Presentation - Electronic Data Interchange
Sharad Srivastava
 
Report - Risk Management in Banks
Report - Risk Management in BanksReport - Risk Management in Banks
Report - Risk Management in Banks
Sharad Srivastava
 
Presentation - Working Capital Management
Presentation - Working Capital ManagementPresentation - Working Capital Management
Presentation - Working Capital Management
Sharad Srivastava
 
Marketing Case Study - Starbucks
Marketing Case Study - StarbucksMarketing Case Study - Starbucks
Marketing Case Study - Starbucks
Sharad Srivastava
 
Strategy Report - Daurala Sugar Works
Strategy Report - Daurala Sugar WorksStrategy Report - Daurala Sugar Works
Strategy Report - Daurala Sugar Works
Sharad Srivastava
 
Presentation - Rational Unified Process
Presentation - Rational Unified ProcessPresentation - Rational Unified Process
Presentation - Rational Unified Process
Sharad 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 Development
Sharad Srivastava
 
Software Requirement Specification - Interest Rate Management
Software Requirement Specification - Interest Rate ManagementSoftware Requirement Specification - Interest Rate Management
Software Requirement Specification - Interest Rate Management
Sharad Srivastava
 
Presentation - The Negotiable Instruments Act 1881
Presentation - The Negotiable Instruments Act 1881Presentation - The Negotiable Instruments Act 1881
Presentation - The Negotiable Instruments Act 1881
Sharad Srivastava
 
Marketing Strategy - Daurala Sugar Works
Marketing Strategy - Daurala Sugar WorksMarketing Strategy - Daurala Sugar Works
Marketing Strategy - Daurala Sugar Works
Sharad Srivastava
 
Presentation - Microfinance in India
Presentation - Microfinance in IndiaPresentation - Microfinance in India
Presentation - Microfinance in India
Sharad Srivastava
 
ERP Case Study - Warehouse Management System
ERP Case Study - Warehouse Management SystemERP Case Study - Warehouse Management System
ERP Case Study - Warehouse Management System
Sharad Srivastava
 
Organisation Case Study - Restructuring at Mayekawa
Organisation Case Study - Restructuring at MayekawaOrganisation Case Study - Restructuring at Mayekawa
Organisation Case Study - Restructuring at Mayekawa
Sharad Srivastava
 
Marketing Case Study - Saffola Journey
Marketing Case Study - Saffola JourneyMarketing Case Study - Saffola Journey
Marketing Case Study - Saffola Journey
Sharad Srivastava
 
Business Proposal - IT Project
Business Proposal - IT ProjectBusiness Proposal - IT Project
Business Proposal - IT Project
Sharad Srivastava
 

Mais de 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
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

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!! -