SlideShare a Scribd company logo
1 of 30
Digital Audio
The sound wave is sampled at a specific rate into
discrete samples of amplitude values.
Step 1. Sampling
3
Suppose we sample the waveform 10 times a second, i.e.,
sampleing rate = 10 Hz.
We get 10 samples per second.
Digitization
• It’s a 2 step process in the AD/DA card
– Audio signal is filtered. Remember human hearing
range is 20 khz to 20 hz. Filtering here removes all
frequencies out of that range (anti aliasing filter)
– Voltage of the audio waveform is measured at
several thousand times per second (sampling)
– Each measurement is than expressed in binaries
(quantization)
– These binary numbers are then stored on disk
The sound wave is sampled at a specific rate into
discrete samples of amplitude values.
Step 1. Sampling
5
Reconstructing the waveform using the discrete sample points.
What if we sample 20 times a second, i.e.,
sampling rate = 20 Hz?
Step 1. Sampling
6
We get 20 samples per second.
What if we sample 20 times a second, i.e.,
sampling rate = 20 Hz?
Step 1. Sampling
7
Reconstructing the waveform using the discrete sample points.
Effects of Sampling Rate
8
original waveform
sampling rate = 10 Hz
sampling rate = 20 Hz
Effects of Sampling Rate
Higher sampling rate:
• The reconstructed wave looks closer to the
original wave
• More sample points, and thus larger file size
9
Sampling Rate Examples
• 11,025 Hz AM Radio Quality/Speech
• 22,050 Hz Near FM Radio Quality (high-end
multimedia)
• 44,100 Hz CD Quality
• 48,000 Hz DAT (digital audio tape) Quality
• 96,000 Hz DVD-Audio Quality
• 192,000 Hz DVD-Audio Quality
10
Step 2. Quantization
• Each of the discrete samples of amplitude values obtained
from the sampling step are mapped and rounded to the
nearest value on a scale of discrete levels.
• The number of levels in the scale is expressed in bit depth--
the power of 2.
• An 8-bit audio allows 28 = 256 possible levels in the scale
• CD-quality audio is 16-bit (i.e., 216 = 65,536 possible levels)
11
Step 2. Quantization
12
Suppose we are quantizing the samples using 3
bits (i.e. 23 = 8 levels).
Now, round each sample to the nearest level.
Step 2. Quantization
13
Now, reconstruct the waveform using the
quantized samples.
Step 2. Quantization
14
Effects of Quantization
• Data with different original amplitudes may be
quantized onto the same level
 loss of subtle differences of samples
• With lower bit depth, samples with larger
differences may also be quantized onto the
same level.
15
Bit Depth
• Bit depth of a digital audio is also referred to
as resolution.
• For digital audio, higher resolution means
higher bit depth.
16
Dynamic Range
• The range of the scale, from the lowest to
highest possible quantization values
• In the previous example:
17
Choices of Sampling Rate and Bit Depth
Higher sampling rate and bit depth:
• deliver better fidelity of a digitized file
• result in a larger file size (undesirable)
18
Estimating 1-minute CD Quality Audio
• Sampling rate = 44100 Hz
(i.e., 44,100 samples/second)
• Bit depth = 16
(i.e., 16 bits/sample)
• Stereo
(i.e., 2 channels: left and right channels)
19
File Size of 1-min CD-quality Audio
• 1 minute = 60 seconds
• Total number of samples
= 60 seconds  44,100 samples/second
= 2,646,000 samples
• Total number of bits required for these many samples
= 2,646,000 samples  16 bits/sample
= 42,336,000 bits
This is for one channel.
• Total bits for two channels
= 42,336,000 bits/channel  2 channels
= 84,672,000 bits
20
File Size of 1-min CD-quality Audio
84,672,000 bits
= 84,672,000 bits / (8 bits/byte)
= 10,584,000 bytes
= 10,584,000 bytes / (1024 bytes/KB)
 10336 KB
= 10336 KB / (1024 KB/MB)
 10 MB
21
Human Hearing Range
• Human hearing range: 20 Hz to 20,000 Hz
• Most sensitive to 2,000 Hz to 5,000 Hz
22
Nyquist Theorem
We must sample at least 2 points in each sound
wave cycle to be able to reconstruct the sound
wave satisfactorily.
Sampling rate of the audio  twice of the
audio frequency (called a Nyquist rate)
Sampling rate of the audio is higher for audio
with higher pitch
23
Most Common Choices of Bit Depth
• 8-bit
– usually sufficient for speech
– in general, too low for music
• 16-bit
– minimal bit depth for music
• 24-bit
• 32-bit
24
Audio File Compression
• Lossless
• Lossy
– gets rid of some data, but human perception is
taken into consideration so that the data removed
causes the least noticeable distortion
– e.g. MP3 (good compression rate while preserving
the perceivably high quality of the audio)
25
Common Audio File Types
File Type Acronym For Originally
Created By
File Info &
Compression
Platforms
.wav IBM
Microsoft
• Compressed or
uncompressed
• One of the HTML5
audio formats
• Windows
• Plays in Web
browsers that support
the .wav format of
HTML5 audio (Firefox,
Safari, Chrome, and
Opera)
.mp3 MPEG audio layer 3 Moving Pictures
Experts Group
• Good compression
rate with perceivably
high quality sound
• One of the HTML5
audio formats
• Cross-platform
•Plays in Web
browsers that support
the .wav format of
HTML5 audio (Safari
and IE)
.m4a MPEG-4 format
without the video
data
Moving Pictures
Experts Group
•AAC compression;
same compression as
the MPEG-4 H.264
without the video
data
• One of the HTML5
audio formats
Plays in Web
browsers that support
the AAC format of
HTML5 audio (Safari,
IE, and Chrome)
26
Common Audio File Types
File Type Acronym For Originally
Created By
File Info &
Compression
Platforms
.ogg or .oga Xiph.Org Foundation • Usually referred to
as Ogg Vorbis format
• One of the HTML5
audio formats
Plays in Web
browsers that support
the Ogg Vorbisformat
of HTML5 audio
(Firefox, Chrome, and
Opera)
.mov QuickTime movie Apple • Not just for video
• supports audio track
and a MIDI track
• a variety of sound
compressors
• files can be
streamed
• "Fast Start"
technology
Cross-platform;
requires QuickTime
player
27
Common Audio File Types
File Type Acronym For Originally
Created By
File Info &
Compression
Platforms
.aiff Audio Interchange
File Format
Apple compressed,
uncompressed
Mac, Windows
.au
.snd
Sun compressed Sun, Unix, Linux
.ra
.rm
Real Audio Real Systems compressed; can be
streamed with Real
Server
Cross-platform;
requires Real player
.wma Window Media Audio Microsoft
28
Choosing an Audio File Type
Determined by the intended use
• File size limitation
• Intended audience
• Whether as a source file
• Is your audio used on the Web?
– file types that offer high compression
– streaming audio file types
29
Intended Audience
• What is the equipment that your audience will
use to listen to your audio?
• If they are listening on computers, what are
their operating systems?
– cross-platform vs. single platform
If you are keeping the file for future editing,
choose a file type:
• uncompressed
• allows lossless compression
30

More Related Content

What's hot

Image compression in digital image processing
Image compression in digital image processingImage compression in digital image processing
Image compression in digital image processingDHIVYADEVAKI
 
A short history of video coding
A short history of video codingA short history of video coding
A short history of video codingIain Richardson
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compressionmurugan hari
 
Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data CompressionPratik Pradhan
 
video compression techique
video compression techiquevideo compression techique
video compression techiqueAshish Kumar
 
Multimedia tools (sound)
Multimedia tools (sound)Multimedia tools (sound)
Multimedia tools (sound)dhruv patel
 
Audio encoding principles
Audio encoding principlesAudio encoding principles
Audio encoding principlesPhillip Doyle
 
Audio compression
Audio compression Audio compression
Audio compression Darshan IT
 
Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Project Student
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2VijayKumarArya
 
MMS2401 - Multimedia system and Communication Notes
MMS2401 - Multimedia system and Communication NotesMMS2401 - Multimedia system and Communication Notes
MMS2401 - Multimedia system and Communication NotesPratik Pradhan
 
Audio and video compression
Audio and video compressionAudio and video compression
Audio and video compressionneeraj9217
 

What's hot (20)

Image compression in digital image processing
Image compression in digital image processingImage compression in digital image processing
Image compression in digital image processing
 
Multimedia compression
Multimedia compressionMultimedia compression
Multimedia compression
 
A short history of video coding
A short history of video codingA short history of video coding
A short history of video coding
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compression
 
Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data Compression
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 
Multimedia tools (sound)
Multimedia tools (sound)Multimedia tools (sound)
Multimedia tools (sound)
 
Analog Video
Analog Video Analog Video
Analog Video
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
Digital audio
Digital audioDigital audio
Digital audio
 
Audio encoding principles
Audio encoding principlesAudio encoding principles
Audio encoding principles
 
Audio compression
Audio compression Audio compression
Audio compression
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)
 
Video
VideoVideo
Video
 
Image compression .
Image compression .Image compression .
Image compression .
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
 
Audio file format
Audio file formatAudio file format
Audio file format
 
MMS2401 - Multimedia system and Communication Notes
MMS2401 - Multimedia system and Communication NotesMMS2401 - Multimedia system and Communication Notes
MMS2401 - Multimedia system and Communication Notes
 
Audio and video compression
Audio and video compressionAudio and video compression
Audio and video compression
 

Similar to Sound digitalisation

The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion processDJNila
 
Unit1_File Size Calculation.pptx
Unit1_File Size Calculation.pptxUnit1_File Size Calculation.pptx
Unit1_File Size Calculation.pptxChitraKanna2
 
Audio Compression_2023.pptx
Audio Compression_2023.pptxAudio Compression_2023.pptx
Audio Compression_2023.pptxzulhelmanz
 
The memory of graphics
The memory of graphicsThe memory of graphics
The memory of graphicsctedds
 
Chapter 7 Sound
Chapter 7 SoundChapter 7 Sound
Chapter 7 Soundshelly3160
 
Sampling rate bit depth
Sampling rate bit depthSampling rate bit depth
Sampling rate bit depthJonny Williams
 
Sampling rate bit depth_lossey lossless
Sampling rate bit depth_lossey losslessSampling rate bit depth_lossey lossless
Sampling rate bit depth_lossey losslessJonny Williams
 
Digital Electronics for Audio
Digital Electronics for AudioDigital Electronics for Audio
Digital Electronics for Audiojazztothebone
 
Audio_Overview.pptx
Audio_Overview.pptxAudio_Overview.pptx
Audio_Overview.pptxBinhHoang71
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audioMr SMAK
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audioMr SMAK
 
365 digital basics after
365 digital basics after365 digital basics after
365 digital basics afterJeff Francis
 

Similar to Sound digitalisation (20)

The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
 
Chapter Seven
Chapter SevenChapter Seven
Chapter Seven
 
Unit1_File Size Calculation.pptx
Unit1_File Size Calculation.pptxUnit1_File Size Calculation.pptx
Unit1_File Size Calculation.pptx
 
Audio Compression_2023.pptx
Audio Compression_2023.pptxAudio Compression_2023.pptx
Audio Compression_2023.pptx
 
The memory of graphics
The memory of graphicsThe memory of graphics
The memory of graphics
 
Chapter 7 Sound
Chapter 7 SoundChapter 7 Sound
Chapter 7 Sound
 
A1mpeg12 2004
A1mpeg12 2004A1mpeg12 2004
A1mpeg12 2004
 
Sampling rate bit depth
Sampling rate bit depthSampling rate bit depth
Sampling rate bit depth
 
Sampling rate bit depth_lossey lossless
Sampling rate bit depth_lossey losslessSampling rate bit depth_lossey lossless
Sampling rate bit depth_lossey lossless
 
M1L1-2.ppt
M1L1-2.pptM1L1-2.ppt
M1L1-2.ppt
 
Digital Electronics for Audio
Digital Electronics for AudioDigital Electronics for Audio
Digital Electronics for Audio
 
Audio_Overview.pptx
Audio_Overview.pptxAudio_Overview.pptx
Audio_Overview.pptx
 
Mp3
Mp3Mp3
Mp3
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
Sampling
SamplingSampling
Sampling
 
SD & D Sound
SD & D SoundSD & D Sound
SD & D Sound
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audio
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audio
 
365 digital basics after
365 digital basics after365 digital basics after
365 digital basics after
 
Digital audio
Digital audioDigital audio
Digital audio
 

More from Azmawati Lazim

Week 6 Designing Identity
Week 6 Designing IdentityWeek 6 Designing Identity
Week 6 Designing IdentityAzmawati Lazim
 
Week 4 Conducting Research Strategy for Brand
Week 4 Conducting Research Strategy for BrandWeek 4 Conducting Research Strategy for Brand
Week 4 Conducting Research Strategy for BrandAzmawati Lazim
 
Week 2 Lecturer on Corporate Indentity
Week 2 Lecturer on Corporate IndentityWeek 2 Lecturer on Corporate Indentity
Week 2 Lecturer on Corporate IndentityAzmawati Lazim
 
Corporate Identity - Final Presentation Strategy
Corporate Identity - Final Presentation StrategyCorporate Identity - Final Presentation Strategy
Corporate Identity - Final Presentation StrategyAzmawati Lazim
 
Cyber law and introduction for undergrad
Cyber law and introduction for undergradCyber law and introduction for undergrad
Cyber law and introduction for undergradAzmawati Lazim
 
Gagne’s nine event activity
Gagne’s nine event activityGagne’s nine event activity
Gagne’s nine event activityAzmawati Lazim
 
Week 3 Content Structure
Week 3 Content StructureWeek 3 Content Structure
Week 3 Content StructureAzmawati Lazim
 
Azmawati Mohd Lazim_Creating learning objectives
Azmawati Mohd Lazim_Creating learning objectivesAzmawati Mohd Lazim_Creating learning objectives
Azmawati Mohd Lazim_Creating learning objectivesAzmawati Lazim
 

More from Azmawati Lazim (20)

Last lecture
Last lectureLast lecture
Last lecture
 
Week 6 Designing Identity
Week 6 Designing IdentityWeek 6 Designing Identity
Week 6 Designing Identity
 
Week 4 Conducting Research Strategy for Brand
Week 4 Conducting Research Strategy for BrandWeek 4 Conducting Research Strategy for Brand
Week 4 Conducting Research Strategy for Brand
 
Week 2 Lecturer on Corporate Indentity
Week 2 Lecturer on Corporate IndentityWeek 2 Lecturer on Corporate Indentity
Week 2 Lecturer on Corporate Indentity
 
Corporate Identity - Final Presentation Strategy
Corporate Identity - Final Presentation StrategyCorporate Identity - Final Presentation Strategy
Corporate Identity - Final Presentation Strategy
 
Digital audio
Digital audioDigital audio
Digital audio
 
Cyber law and introduction for undergrad
Cyber law and introduction for undergradCyber law and introduction for undergrad
Cyber law and introduction for undergrad
 
Impat of it
Impat of itImpat of it
Impat of it
 
Groupware tech
Groupware techGroupware tech
Groupware tech
 
E business
E businessE business
E business
 
Cyber law
Cyber lawCyber law
Cyber law
 
Keconomy 1
Keconomy 1Keconomy 1
Keconomy 1
 
Digital audio
Digital audioDigital audio
Digital audio
 
Gagne’s nine event activity
Gagne’s nine event activityGagne’s nine event activity
Gagne’s nine event activity
 
Week 3 Content Structure
Week 3 Content StructureWeek 3 Content Structure
Week 3 Content Structure
 
Azmawati Mohd Lazim_Creating learning objectives
Azmawati Mohd Lazim_Creating learning objectivesAzmawati Mohd Lazim_Creating learning objectives
Azmawati Mohd Lazim_Creating learning objectives
 
Weekly title
Weekly titleWeekly title
Weekly title
 
Project timeline
Project timelineProject timeline
Project timeline
 
Project timeline
Project timelineProject timeline
Project timeline
 
Week 1 introduction
Week 1 introductionWeek 1 introduction
Week 1 introduction
 

Recently uploaded

ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 

Recently uploaded (20)

ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 

Sound digitalisation

  • 1.
  • 3. The sound wave is sampled at a specific rate into discrete samples of amplitude values. Step 1. Sampling 3 Suppose we sample the waveform 10 times a second, i.e., sampleing rate = 10 Hz. We get 10 samples per second.
  • 4. Digitization • It’s a 2 step process in the AD/DA card – Audio signal is filtered. Remember human hearing range is 20 khz to 20 hz. Filtering here removes all frequencies out of that range (anti aliasing filter) – Voltage of the audio waveform is measured at several thousand times per second (sampling) – Each measurement is than expressed in binaries (quantization) – These binary numbers are then stored on disk
  • 5. The sound wave is sampled at a specific rate into discrete samples of amplitude values. Step 1. Sampling 5 Reconstructing the waveform using the discrete sample points.
  • 6. What if we sample 20 times a second, i.e., sampling rate = 20 Hz? Step 1. Sampling 6 We get 20 samples per second.
  • 7. What if we sample 20 times a second, i.e., sampling rate = 20 Hz? Step 1. Sampling 7 Reconstructing the waveform using the discrete sample points.
  • 8. Effects of Sampling Rate 8 original waveform sampling rate = 10 Hz sampling rate = 20 Hz
  • 9. Effects of Sampling Rate Higher sampling rate: • The reconstructed wave looks closer to the original wave • More sample points, and thus larger file size 9
  • 10. Sampling Rate Examples • 11,025 Hz AM Radio Quality/Speech • 22,050 Hz Near FM Radio Quality (high-end multimedia) • 44,100 Hz CD Quality • 48,000 Hz DAT (digital audio tape) Quality • 96,000 Hz DVD-Audio Quality • 192,000 Hz DVD-Audio Quality 10
  • 11. Step 2. Quantization • Each of the discrete samples of amplitude values obtained from the sampling step are mapped and rounded to the nearest value on a scale of discrete levels. • The number of levels in the scale is expressed in bit depth-- the power of 2. • An 8-bit audio allows 28 = 256 possible levels in the scale • CD-quality audio is 16-bit (i.e., 216 = 65,536 possible levels) 11
  • 12. Step 2. Quantization 12 Suppose we are quantizing the samples using 3 bits (i.e. 23 = 8 levels).
  • 13. Now, round each sample to the nearest level. Step 2. Quantization 13
  • 14. Now, reconstruct the waveform using the quantized samples. Step 2. Quantization 14
  • 15. Effects of Quantization • Data with different original amplitudes may be quantized onto the same level  loss of subtle differences of samples • With lower bit depth, samples with larger differences may also be quantized onto the same level. 15
  • 16. Bit Depth • Bit depth of a digital audio is also referred to as resolution. • For digital audio, higher resolution means higher bit depth. 16
  • 17. Dynamic Range • The range of the scale, from the lowest to highest possible quantization values • In the previous example: 17
  • 18. Choices of Sampling Rate and Bit Depth Higher sampling rate and bit depth: • deliver better fidelity of a digitized file • result in a larger file size (undesirable) 18
  • 19. Estimating 1-minute CD Quality Audio • Sampling rate = 44100 Hz (i.e., 44,100 samples/second) • Bit depth = 16 (i.e., 16 bits/sample) • Stereo (i.e., 2 channels: left and right channels) 19
  • 20. File Size of 1-min CD-quality Audio • 1 minute = 60 seconds • Total number of samples = 60 seconds  44,100 samples/second = 2,646,000 samples • Total number of bits required for these many samples = 2,646,000 samples  16 bits/sample = 42,336,000 bits This is for one channel. • Total bits for two channels = 42,336,000 bits/channel  2 channels = 84,672,000 bits 20
  • 21. File Size of 1-min CD-quality Audio 84,672,000 bits = 84,672,000 bits / (8 bits/byte) = 10,584,000 bytes = 10,584,000 bytes / (1024 bytes/KB)  10336 KB = 10336 KB / (1024 KB/MB)  10 MB 21
  • 22. Human Hearing Range • Human hearing range: 20 Hz to 20,000 Hz • Most sensitive to 2,000 Hz to 5,000 Hz 22
  • 23. Nyquist Theorem We must sample at least 2 points in each sound wave cycle to be able to reconstruct the sound wave satisfactorily. Sampling rate of the audio  twice of the audio frequency (called a Nyquist rate) Sampling rate of the audio is higher for audio with higher pitch 23
  • 24. Most Common Choices of Bit Depth • 8-bit – usually sufficient for speech – in general, too low for music • 16-bit – minimal bit depth for music • 24-bit • 32-bit 24
  • 25. Audio File Compression • Lossless • Lossy – gets rid of some data, but human perception is taken into consideration so that the data removed causes the least noticeable distortion – e.g. MP3 (good compression rate while preserving the perceivably high quality of the audio) 25
  • 26. Common Audio File Types File Type Acronym For Originally Created By File Info & Compression Platforms .wav IBM Microsoft • Compressed or uncompressed • One of the HTML5 audio formats • Windows • Plays in Web browsers that support the .wav format of HTML5 audio (Firefox, Safari, Chrome, and Opera) .mp3 MPEG audio layer 3 Moving Pictures Experts Group • Good compression rate with perceivably high quality sound • One of the HTML5 audio formats • Cross-platform •Plays in Web browsers that support the .wav format of HTML5 audio (Safari and IE) .m4a MPEG-4 format without the video data Moving Pictures Experts Group •AAC compression; same compression as the MPEG-4 H.264 without the video data • One of the HTML5 audio formats Plays in Web browsers that support the AAC format of HTML5 audio (Safari, IE, and Chrome) 26
  • 27. Common Audio File Types File Type Acronym For Originally Created By File Info & Compression Platforms .ogg or .oga Xiph.Org Foundation • Usually referred to as Ogg Vorbis format • One of the HTML5 audio formats Plays in Web browsers that support the Ogg Vorbisformat of HTML5 audio (Firefox, Chrome, and Opera) .mov QuickTime movie Apple • Not just for video • supports audio track and a MIDI track • a variety of sound compressors • files can be streamed • "Fast Start" technology Cross-platform; requires QuickTime player 27
  • 28. Common Audio File Types File Type Acronym For Originally Created By File Info & Compression Platforms .aiff Audio Interchange File Format Apple compressed, uncompressed Mac, Windows .au .snd Sun compressed Sun, Unix, Linux .ra .rm Real Audio Real Systems compressed; can be streamed with Real Server Cross-platform; requires Real player .wma Window Media Audio Microsoft 28
  • 29. Choosing an Audio File Type Determined by the intended use • File size limitation • Intended audience • Whether as a source file • Is your audio used on the Web? – file types that offer high compression – streaming audio file types 29
  • 30. Intended Audience • What is the equipment that your audience will use to listen to your audio? • If they are listening on computers, what are their operating systems? – cross-platform vs. single platform If you are keeping the file for future editing, choose a file type: • uncompressed • allows lossless compression 30