SlideShare une entreprise Scribd logo
1  sur  15
Audio file compression
Audio Compression
Audio Compression
 Audio compression can be lossless or lossy
 Lossless compression reduces the file size (minimally)
and keeps all of the information
 Lossy compression reduces the file size dramatically
but decreases sound quality (loses audible information)
 Audio compression uses psychoachoustic redundancy
principles
 Parts of a clip where quality is ‘important’
(singing, talking, complex harmonies etc.) will be written /
have more data written
 ‘Unimportant’ parts (silence for example) will be written with
less data
Lossless Audio Container
Formats
 Some common lossless audio formats
 AIFF: Audio Interchange File Format
 Designed by Apple
 Used for uncompressed storage, generally on Mac systems
 Used in audio processing / editing work flows
 WAV: Waveform Audio File Format
 Designed by Microsoft
 Used for uncompressed storage, generally on Windows systems
 Used in audio processing / editing work flows
 Nowadays, both AIFF / WAV will generally play on either PC /MAC
systems
 FLAC: Free lossless Audio Codec
 Open source codec
Lossy audio codecs
 Some common lossy audio codecs
 Mp3 (Mpeg1 – layer 3)
 A ubiquitous codec (plays on everything)
 AAC (Mpeg4 – part 3) – supported by HTML5 player
 Common iTunes codec – becoming universally playable
 Popular choice for podcasts as it can be encoded as an enhanced podcast
 Containing images, chapters and URL links (on iTunes only)
 Will take the extension .m4a or .m4p in certain instances
 (Ogg) Vorbis
 Open source audio codec also supported by HTML 5 player
 WMA (Windows media audio)
 Windows media file
 Encodes surround sound
Compressing Audio
 Audio compression and the resulting aural quality are
affected by changing the following properties of your
source audio file
 Sample rate (frequency)
 The amount of samples taken per second (temporal resolution)
 Bit depth
 The amount of information used at a single sample point (resolution)
 Bit rate
 Number of bits per second (Kbps)
 Channels
 Mono, stereo and surround sound files
 Your ear will always have the final say in whether a file
has been compressed to an acceptable quality
Sample rate
 The number of samples taken from an audio
source in one second
 Measured in KHz
 48KHz (high end DV)
 44KHz (CD quality)
 32KHz (Some digital video)
Bit depth (audio)
 The amount of data (bits) used in each sample of audio ( bit ‘word
length’)
 2 bit – 00, 01, 11, 10
 4 bit –
0000, 0001, 0011, 0111, 1111, 1110, 1100, 1000, 1101, 1011, 1001, 1010, 01
01…..0110 (16 possible values (or 24))
 The more data recorded at each sample, the more fidelity (less
degradation) of the original signal
Bit depth (audio)
 Recording and storing at high bit depth allows
freer use of effects in post-production before
degradation occurs
 Audio recorded at 24bit can be heavily processed (effects) and
be output as 16bit without degradation
 Some common bit depths
 Phone – 8bit (VOIP) enough data to accurately capture the
human voice range but can remove certain qualities of the
original voice
 CD – 16bit
 DVD and Blu Ray – (20 – 24bit)
 Post production – 24 – 32bit
Bit rate: bits per second (Kbps)
 Bit rate = the amount of data required to
store one second of audio (and stream / play
the file)
 128Kbps: acceptable ‘tipping point’ in terms of audible
quality (default iTunes import conversion setting)
 Lower bitrates give higher frequencies in the sound a ‘sizzling’
effect (poor quality)
 Compensate by a) increasing the bitrate or b) cutting the higher
frequencies in the mix
 Constant bitrate (CBR)
 A bitrate is set and will be fixed for the duration of the clip
 A fast method of encoding – done in one pass (through the
data)
 Used for live streamed audio - ‘on the fly’
Relationship of bitrate to sample
rate
 Each sample is like a ‘slice’ of audio
 Bits are distributed amongst all the samples in any given
second
(Kbps (per second))
 If a fixed amount of bits is given to each sample
 The less samples per second – The more data is given to each
sample – The higher the audible sound quality
 The more samples per second – The less data is given to each
sample – The lower the sound quality
Variable Bit Rate – V.B.R.
Variable bitrate (VBR)
 Adaptive encoding method: Software decides on
appropriate bitrate depending on psychoacoustic redundancy
principles (how much information is required for a given
moment of audio?)
 Quiet / silent parts are given less data (compressed more)
 Complex / loud sections with more detailed sound are given
more data (compressed less)
 Longer files benefit from VBR in terms of file size
 VBR can be constrained to maximum / minimum / average
values
 VBR requires 2 (or more passes) through the data in the file
1. Pass one determines how much compression is required in a
given part
 The location of designated sections and corresponding compression
amount is logged
2. Pass two applies the appropriate amount of compression to the
Factors determining Quality/File size in audio
compression
Quality
Bitrate: How many bits (data) are available per
second?
Channels
1 channel (mono) will get all the available bits
2 channels (stereo) will have half the available bits
each
Sample Rate
The bits are distributed
amongst each sample
The more samples, the
less
bits available for each
Audio such as music, exported at a bitrate of 128Kbps
and a frequency of 44.1KHz will generally sound
acceptable
Sound ‘artifacting’
 High frequencies will start to degrade at settings below
that
 A ‘hissing’ or phased effect will creep into the audio
 Compensating solutions to this include:
 Raise the bitrate / frequency and remove one channel (if file-
size needs to be maintained)
 Go back to your stereo project, bring down the high
frequencies in the mix and re-export a version for low
bandwidths
Example – 34 sec. 44100Hz, 16bit, stereo
Sample rate 44100Hz
Bit depth 16
Channels * 2
Total bits per second 1411200
Divided /8 = bytes per s 176,400
Multiplied by duration (34) 5997600 (bytes)
Divided /1024 5857.03125 (KB)
Divided /1024 5.719757080078125 (MB)
Calculating Data in Transcode / ADC / Recording
Secenario (Uncompressed audio (Such as PCM))
Calculating bitrate / file size of compressed
audio
 Bitrate = file size / duration
 File size = bitrate * duration
 Duration = File size / bitrate
A piece of audio is 10 seconds long and 320KB in size –
What is the bit rate (express in Kilobits)?
A piece of audio has a bitrate of 128Kbps and is 5 seconds
in duration – what is the file size (in Kilobytes (KB))?

Contenu connexe

Tendances

Audio compression 1
Audio compression 1Audio compression 1
Audio compression 1Rajat Kumar
 
Audio format
Audio formatAudio format
Audio formatavid
 
Introduction to HEVC
Introduction to HEVCIntroduction to HEVC
Introduction to HEVCYoss Cohen
 
Le traitement du signal en Audio. Les procédés de compression audio. Présent...
Le traitement du signal en Audio. Les  procédés de compression audio. Présent...Le traitement du signal en Audio. Les  procédés de compression audio. Présent...
Le traitement du signal en Audio. Les procédés de compression audio. Présent...Vincent RECIPON
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression BasicsSanjiv Malik
 
Lecture 8 audio compression
Lecture 8 audio compressionLecture 8 audio compression
Lecture 8 audio compressionMr SMAK
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainVideoguy
 
Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formatsIshank Ranjan
 
A short history of video coding
A short history of video codingA short history of video coding
A short history of video codingIain Richardson
 
Multimedia System & Design Ch 5 video
Multimedia System & Design Ch 5 videoMultimedia System & Design Ch 5 video
Multimedia System & Design Ch 5 videoBadar Waseer
 
Introduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIntroduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIain Richardson
 
introduction to audio formats - Multimedia Students
introduction to audio formats - Multimedia Studentsintroduction to audio formats - Multimedia Students
introduction to audio formats - Multimedia StudentsSEO SKills
 
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsVideo Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsDr. Mohieddin Moradi
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standardanuragjagetiya
 

Tendances (20)

H263.ppt
H263.pptH263.ppt
H263.ppt
 
Mp3
Mp3Mp3
Mp3
 
Audio compression 1
Audio compression 1Audio compression 1
Audio compression 1
 
Audio format
Audio formatAudio format
Audio format
 
Urx m1
Urx m1Urx m1
Urx m1
 
Codecs
CodecsCodecs
Codecs
 
Introduction to HEVC
Introduction to HEVCIntroduction to HEVC
Introduction to HEVC
 
Le traitement du signal en Audio. Les procédés de compression audio. Présent...
Le traitement du signal en Audio. Les  procédés de compression audio. Présent...Le traitement du signal en Audio. Les  procédés de compression audio. Présent...
Le traitement du signal en Audio. Les procédés de compression audio. Présent...
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
Lecture 8 audio compression
Lecture 8 audio compressionLecture 8 audio compression
Lecture 8 audio compression
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
 
Video Compression
Video CompressionVideo Compression
Video Compression
 
Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formats
 
A short history of video coding
A short history of video codingA short history of video coding
A short history of video coding
 
CHAPTER – 5 Audio
CHAPTER – 5     AudioCHAPTER – 5     Audio
CHAPTER – 5 Audio
 
Multimedia System & Design Ch 5 video
Multimedia System & Design Ch 5 videoMultimedia System & Design Ch 5 video
Multimedia System & Design Ch 5 video
 
Introduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIntroduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video Compression
 
introduction to audio formats - Multimedia Students
introduction to audio formats - Multimedia Studentsintroduction to audio formats - Multimedia Students
introduction to audio formats - Multimedia Students
 
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsVideo Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video Codecs
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 

Similaire à Audio encoding principles

3 multimedia elements - audio
3   multimedia elements - audio3   multimedia elements - audio
3 multimedia elements - audioKelly Bauer
 
Digital Electronics for Audio
Digital Electronics for AudioDigital Electronics for Audio
Digital Electronics for Audiojazztothebone
 
Scct2013 topic 4_audio
Scct2013 topic 4_audioScct2013 topic 4_audio
Scct2013 topic 4_audioAnies Syahieda
 
Week 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyWeek 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyVideoguy
 
Representing sound
Representing soundRepresenting sound
Representing soundwardjo
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheetluisfvazquez1
 
Mm01 a vformat
Mm01 a vformatMm01 a vformat
Mm01 a vformatgotovikas
 
Multimedia data compression challenge and their solution
Multimedia data compression challenge and their solutionMultimedia data compression challenge and their solution
Multimedia data compression challenge and their solutionshamsbhai495
 
Multimedia Systems by Sahil Punni
Multimedia Systems by Sahil PunniMultimedia Systems by Sahil Punni
Multimedia Systems by Sahil PunniSahil Punni
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission FundamentalsAisu
 
Multimedia
MultimediaMultimedia
MultimediaBUDNET
 

Similaire à Audio encoding principles (20)

Mm Unit 3
Mm Unit 3Mm Unit 3
Mm Unit 3
 
MultiMedia-Lecture-4.pptx
MultiMedia-Lecture-4.pptxMultiMedia-Lecture-4.pptx
MultiMedia-Lecture-4.pptx
 
3 multimedia elements - audio
3   multimedia elements - audio3   multimedia elements - audio
3 multimedia elements - audio
 
Digital Audio in Multimedia
Digital Audio in MultimediaDigital Audio in Multimedia
Digital Audio in Multimedia
 
Digital Electronics for Audio
Digital Electronics for AudioDigital Electronics for Audio
Digital Electronics for Audio
 
Sound.pptx
Sound.pptxSound.pptx
Sound.pptx
 
Bb feb2005
Bb feb2005Bb feb2005
Bb feb2005
 
Digital audio
Digital audioDigital audio
Digital audio
 
Scct2013 topic 4_audio
Scct2013 topic 4_audioScct2013 topic 4_audio
Scct2013 topic 4_audio
 
Week 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyWeek 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information Technology
 
Representing sound
Representing soundRepresenting sound
Representing sound
 
Speech Compression
Speech CompressionSpeech Compression
Speech Compression
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
 
Mm01 a vformat
Mm01 a vformatMm01 a vformat
Mm01 a vformat
 
Sound digitalisation
Sound digitalisationSound digitalisation
Sound digitalisation
 
Digaudio
DigaudioDigaudio
Digaudio
 
Multimedia data compression challenge and their solution
Multimedia data compression challenge and their solutionMultimedia data compression challenge and their solution
Multimedia data compression challenge and their solution
 
Multimedia Systems by Sahil Punni
Multimedia Systems by Sahil PunniMultimedia Systems by Sahil Punni
Multimedia Systems by Sahil Punni
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission Fundamentals
 
Multimedia
MultimediaMultimedia
Multimedia
 

Dernier

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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 2024The Digital Insurer
 
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 2024Rafal Los
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
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 2024The Digital Insurer
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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...Martijn de Jong
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Dernier (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Audio encoding principles

  • 2. Audio Compression  Audio compression can be lossless or lossy  Lossless compression reduces the file size (minimally) and keeps all of the information  Lossy compression reduces the file size dramatically but decreases sound quality (loses audible information)  Audio compression uses psychoachoustic redundancy principles  Parts of a clip where quality is ‘important’ (singing, talking, complex harmonies etc.) will be written / have more data written  ‘Unimportant’ parts (silence for example) will be written with less data
  • 3. Lossless Audio Container Formats  Some common lossless audio formats  AIFF: Audio Interchange File Format  Designed by Apple  Used for uncompressed storage, generally on Mac systems  Used in audio processing / editing work flows  WAV: Waveform Audio File Format  Designed by Microsoft  Used for uncompressed storage, generally on Windows systems  Used in audio processing / editing work flows  Nowadays, both AIFF / WAV will generally play on either PC /MAC systems  FLAC: Free lossless Audio Codec  Open source codec
  • 4. Lossy audio codecs  Some common lossy audio codecs  Mp3 (Mpeg1 – layer 3)  A ubiquitous codec (plays on everything)  AAC (Mpeg4 – part 3) – supported by HTML5 player  Common iTunes codec – becoming universally playable  Popular choice for podcasts as it can be encoded as an enhanced podcast  Containing images, chapters and URL links (on iTunes only)  Will take the extension .m4a or .m4p in certain instances  (Ogg) Vorbis  Open source audio codec also supported by HTML 5 player  WMA (Windows media audio)  Windows media file  Encodes surround sound
  • 5. Compressing Audio  Audio compression and the resulting aural quality are affected by changing the following properties of your source audio file  Sample rate (frequency)  The amount of samples taken per second (temporal resolution)  Bit depth  The amount of information used at a single sample point (resolution)  Bit rate  Number of bits per second (Kbps)  Channels  Mono, stereo and surround sound files  Your ear will always have the final say in whether a file has been compressed to an acceptable quality
  • 6. Sample rate  The number of samples taken from an audio source in one second  Measured in KHz  48KHz (high end DV)  44KHz (CD quality)  32KHz (Some digital video)
  • 7. Bit depth (audio)  The amount of data (bits) used in each sample of audio ( bit ‘word length’)  2 bit – 00, 01, 11, 10  4 bit – 0000, 0001, 0011, 0111, 1111, 1110, 1100, 1000, 1101, 1011, 1001, 1010, 01 01…..0110 (16 possible values (or 24))  The more data recorded at each sample, the more fidelity (less degradation) of the original signal
  • 8. Bit depth (audio)  Recording and storing at high bit depth allows freer use of effects in post-production before degradation occurs  Audio recorded at 24bit can be heavily processed (effects) and be output as 16bit without degradation  Some common bit depths  Phone – 8bit (VOIP) enough data to accurately capture the human voice range but can remove certain qualities of the original voice  CD – 16bit  DVD and Blu Ray – (20 – 24bit)  Post production – 24 – 32bit
  • 9. Bit rate: bits per second (Kbps)  Bit rate = the amount of data required to store one second of audio (and stream / play the file)  128Kbps: acceptable ‘tipping point’ in terms of audible quality (default iTunes import conversion setting)  Lower bitrates give higher frequencies in the sound a ‘sizzling’ effect (poor quality)  Compensate by a) increasing the bitrate or b) cutting the higher frequencies in the mix  Constant bitrate (CBR)  A bitrate is set and will be fixed for the duration of the clip  A fast method of encoding – done in one pass (through the data)  Used for live streamed audio - ‘on the fly’
  • 10. Relationship of bitrate to sample rate  Each sample is like a ‘slice’ of audio  Bits are distributed amongst all the samples in any given second (Kbps (per second))  If a fixed amount of bits is given to each sample  The less samples per second – The more data is given to each sample – The higher the audible sound quality  The more samples per second – The less data is given to each sample – The lower the sound quality
  • 11. Variable Bit Rate – V.B.R. Variable bitrate (VBR)  Adaptive encoding method: Software decides on appropriate bitrate depending on psychoacoustic redundancy principles (how much information is required for a given moment of audio?)  Quiet / silent parts are given less data (compressed more)  Complex / loud sections with more detailed sound are given more data (compressed less)  Longer files benefit from VBR in terms of file size  VBR can be constrained to maximum / minimum / average values  VBR requires 2 (or more passes) through the data in the file 1. Pass one determines how much compression is required in a given part  The location of designated sections and corresponding compression amount is logged 2. Pass two applies the appropriate amount of compression to the
  • 12. Factors determining Quality/File size in audio compression Quality Bitrate: How many bits (data) are available per second? Channels 1 channel (mono) will get all the available bits 2 channels (stereo) will have half the available bits each Sample Rate The bits are distributed amongst each sample The more samples, the less bits available for each
  • 13. Audio such as music, exported at a bitrate of 128Kbps and a frequency of 44.1KHz will generally sound acceptable Sound ‘artifacting’  High frequencies will start to degrade at settings below that  A ‘hissing’ or phased effect will creep into the audio  Compensating solutions to this include:  Raise the bitrate / frequency and remove one channel (if file- size needs to be maintained)  Go back to your stereo project, bring down the high frequencies in the mix and re-export a version for low bandwidths
  • 14. Example – 34 sec. 44100Hz, 16bit, stereo Sample rate 44100Hz Bit depth 16 Channels * 2 Total bits per second 1411200 Divided /8 = bytes per s 176,400 Multiplied by duration (34) 5997600 (bytes) Divided /1024 5857.03125 (KB) Divided /1024 5.719757080078125 (MB) Calculating Data in Transcode / ADC / Recording Secenario (Uncompressed audio (Such as PCM))
  • 15. Calculating bitrate / file size of compressed audio  Bitrate = file size / duration  File size = bitrate * duration  Duration = File size / bitrate A piece of audio is 10 seconds long and 320KB in size – What is the bit rate (express in Kilobits)? A piece of audio has a bitrate of 128Kbps and is 5 seconds in duration – what is the file size (in Kilobytes (KB))?