SlideShare a Scribd company logo
1 of 15
Sampling rate
&
Bit Depth
What is Sound
All sounds are vibrations traveling through the air as sound waves. Sound
waves are caused by the vibrations of objects and radiate outward from
their source in all directions.
A vibrating object compresses the surrounding air molecules (squeezing
them closer together) and then rarefies them (pulling them farther
apart). Although the fluctuations in air pressure travel outward from the
object, the air molecules themselves stay in the same average position.
As sound travels, it reflects off objects in its path, creating further
disturbances in the surrounding air. When these changes in air pressure
vibrate your eardrum, nerve signals are sent to your brain and are
interpreted as sound.
Fundamentals of a Sound Wave
• The simplest kind of sound wave is a sine wave. Pure
sine waves rarely exist in the natural world, but they are
a useful place to start because all other sounds can be
broken down into combinations of sine waves. A sine
wave clearly demonstrates the three fundamental
characteristics of a sound wave: frequency, amplitude,
Frequency
• Frequency is the rate, or number of times per second, that
a sound wave cycles from positive to negative to positive
again. Frequency is measured in cycles per second,
or hertz (Hz). Humans have a range of hearing from 20 Hz
(low) to 20,000 Hz (high). Frequencies beyond this range
exist, but they are inaudible to humans.
Amplitude
• Amplitude (or intensity) refers to the strength of a sound
wave, which the human ear interprets as volume or
loudness., Audio meters use a logarithmic scale (decibels)
to make the units of measurement for audio loudness.
Digital Audio
• Bit rate refers to the amount of data, specifically bits, transmitted or
received per second.
• One of the most common bit rates given is that for compressed audio
files. For example, an MP3 file might be described as having a bit rate
of 160 kbit/s or 160000 bits/second. This indicates the amount of
compressed data needed to store one second of music.
• The standard audio CD is said to have a data rate of 44.1 kHz/16,
meaning that the audio data was sampled 44,100 times per second,
with a bit depth of 16. CD tracks are usually stereo, using a left and
right track, so the amount of audio data per second is double that of
mono, where only a single track is used. The bit rate is then 44100
samples/second x 16 bits/sample x 2 tracks = 1,411,200 bit/s or
1.4 Mbit/s.
Digital Audio
• To fully define a sound file's digital audio bit rates: the format of the
data, the sampling rate, word size (bit depth), and the number of
channels (e.g. mono, stereo, quad), must be known.
• Calculating values
• An audio file's bit rate can be calculated given sufficient information.
Given any three of the following four values, the fourth can be
calculated.
• Bit rate = (sampling rate) × (bit depth) × (number of channels)E.g., for
a recording with a 44.1 kHz sampling rate, a 16 bit depth, and 2
channels (stereo):
• 44100 × 16 × 2 = 1411200 bits per second = 1411.2 kbit/sThe
eventual file size of an audio recording can also be calculated using a
similar formula:
Sample rate indicates the number of digital snapshots taken of an audio signal each
second. This rate determines the frequency range of an audio file. The higher the
sample rate, the closer the shape of the digital waveform is to that of the original
analogue waveform. Low sample rates limit the range of frequencies that can be
recorded, which can result in a recording that poorly represents the original sound.
A. Low sample rate that distorts the
original sound wave.
B. High sample rate that perfectly
reproduces the original sound wave.
Human hearing includes frequencies up to around 20,000 Hz
Since every cycle of a waveform has both a positive and negative pressure, top to bottom,
we must dedicate a minimum of two samples for each cycle of a wave. Therefore, the
highest frequency a digital system can represent is half of the sampling rate. This is the
so-called "Nyquist theory“.
In the case of 44.1kHz, the highest frequency we can accurately represent is 22,050
Hertz. According to our understanding of human hearing, this frequency seems to be
enough, we can capture frequencies up to 20k and even a little beyond.
CD-quality (red book)
sound the rate is
44,100 samples per
second,
44.1 kHz
Bit depth
For every digital sample, our analogue to digital converter asks "what is the
amplitude?". The question that remains is, how is this amplitude represented? The
answer is "bit depth" which determines both how many different amplitude
levels/steps are possible and what the overall capacity of the system is...how loud of
a signal it can tolerate.
CD-quality has a bit depth of 16. This means we will have 2^16 ("two to the 16th
power") different amplitude values available to us
Since the number of steps is divided between positive and negative values (crests and
troughs) this means it is divided into 32,767 positive and 32,768 negative values.
2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2 = 65,536 steps
For each sample taken, the actual amplitude must be "rounded" to the nearest available
level...producing another "error" relative to the original audio signal. The signal is
"quantized". This "quantization error" produces as small amount of "quantization
noise", noise inherent to digital recording. A digital system is totally noise-less on its
own, but as soon as it is recording a signal, it makes these errors and ends up with this
small amount of noise.
The overall amplitude capacity of an digital system can be theoretically approximated
as 6 decibels per bit. For our 16-bit CD-quality signal, this means our system can
tolerate 96 dB. (16 bits x 6 dB)
So, is 16-bits enough? The threshold of hearing varies among individuals, but is often
cited as 120 or 130 dB. So it may be that--unlike the CD-quality sampling rate and its
accommodation for the range of human hearing--our 16-bit system is not enough.
What bit depth would a system need to be to tolerate 130 dB ? 24 bit x 6 = 144 dB
If care is not taken when recording, a signal can easily exceed the maximum
amplitude, producing “ Digital clipping". In clipping, the waveform hits its amplitude
ceiling resulting is a cropped waveform.
The conversion of a raw audio signal into a digital representation is known as
quantization. The continuous, real-world audio signal, represented here as a smooth
waveform with positive and negative pressure levels, is recorded in a series of
snapshots known as "samples". Each sample is, like a frame of video, a picture of the
signal at that moment. Specifically, it is a picture of its amplitude.
The difference between the actual
incoming audio signal (grey line) and
the quantized digital signal (red line)
is called the quantization error.
"what is the amplitude?". The succession of these amplitude measurements
("samples", shown below as dotted lines) results in a digital approximation of the
original audio signal. The frequencies and notes we hear are the result of these
changing amplitudes over time.
Lossy compression
• OGG Vorbis – Vorbis is an open and free audio compression which
normally goes under the name format of OGG. Due to the free
nature, Ogg Vorbis format has proved popular among the open
source communities, along with its claimed best quality lossy audio
codec (at certain bitrates).
• WMA (Windows Media Audio) – WMA is Microsoft’s audio file
format. A WMA file is almost always encapsulated in an Advanced
Systems Format file. The resulting file may have the Filename
extension .wma or .asf (.wma being used being used if audio only).
Windows Media Audio supports DRM which has led to itself as a
competitor to the AAC format used by iTunes.
•

More Related Content

What's hot (20)

05 audio
05 audio05 audio
05 audio
 
Digital audio
Digital audioDigital audio
Digital audio
 
Digital audio
Digital audioDigital audio
Digital audio
 
Soundpres
SoundpresSoundpres
Soundpres
 
Learning object
Learning objectLearning object
Learning object
 
Compression
CompressionCompression
Compression
 
Audio compression
Audio compression Audio compression
Audio compression
 
Introduction to audio normalization
Introduction to audio normalizationIntroduction to audio normalization
Introduction to audio normalization
 
05 capture
05 capture05 capture
05 capture
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
Digital Audio & Signal Processing (Elad Gariany)
Digital Audio & Signal Processing (Elad Gariany)Digital Audio & Signal Processing (Elad Gariany)
Digital Audio & Signal Processing (Elad Gariany)
 
Audio encoding principles
Audio encoding principlesAudio encoding principles
Audio encoding principles
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Mp3
Mp3Mp3
Mp3
 
Audio compression 1
Audio compression 1Audio compression 1
Audio compression 1
 
Week two a d conversion
Week two a d conversionWeek two a d conversion
Week two a d conversion
 
Lecture 8 audio compression
Lecture 8 audio compressionLecture 8 audio compression
Lecture 8 audio compression
 
3 Digital Audio
3 Digital Audio3 Digital Audio
3 Digital Audio
 
Mm Unit 3
Mm Unit 3Mm Unit 3
Mm Unit 3
 
Audio compression
Audio compressionAudio compression
Audio compression
 

Viewers also liked

Data compression ratio wikipedia, the free encyclopedia
Data compression ratio   wikipedia, the free encyclopediaData compression ratio   wikipedia, the free encyclopedia
Data compression ratio wikipedia, the free encyclopediastardeep
 
Real-time EEG: timing and block size
Real-time EEG: timing and block sizeReal-time EEG: timing and block size
Real-time EEG: timing and block sizeRobert Oostenveld
 
Basic electrical safety
Basic electrical safetyBasic electrical safety
Basic electrical safetyphysics101
 
Biomedical Transducer: Inertial Sensors
Biomedical Transducer: Inertial SensorsBiomedical Transducer: Inertial Sensors
Biomedical Transducer: Inertial SensorsDaniele Antonioli
 
Basic Burn Safety Training
Basic Burn Safety TrainingBasic Burn Safety Training
Basic Burn Safety TrainingDan Junkins
 
Transducers for bio medical
Transducers for bio medicalTransducers for bio medical
Transducers for bio medicalSLIET
 
Electrical Safety
Electrical SafetyElectrical Safety
Electrical Safetyvkmalik
 
Amplifiers Pesentation
Amplifiers PesentationAmplifiers Pesentation
Amplifiers PesentationAnmol Bagga
 
Power amplifiers
Power amplifiersPower amplifiers
Power amplifiersmofassair
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filtersop205
 
Electrical Safety
Electrical  Safety Electrical  Safety
Electrical Safety Reliance
 

Viewers also liked (19)

Data compression ratio wikipedia, the free encyclopedia
Data compression ratio   wikipedia, the free encyclopediaData compression ratio   wikipedia, the free encyclopedia
Data compression ratio wikipedia, the free encyclopedia
 
Real-time EEG: timing and block size
Real-time EEG: timing and block sizeReal-time EEG: timing and block size
Real-time EEG: timing and block size
 
Basic electrical safety
Basic electrical safetyBasic electrical safety
Basic electrical safety
 
Medical Tranducers
Medical TranducersMedical Tranducers
Medical Tranducers
 
Electrical safety qualified_person
Electrical safety qualified_personElectrical safety qualified_person
Electrical safety qualified_person
 
Electrical safety principles
Electrical safety principlesElectrical safety principles
Electrical safety principles
 
Biomedical Transducer: Inertial Sensors
Biomedical Transducer: Inertial SensorsBiomedical Transducer: Inertial Sensors
Biomedical Transducer: Inertial Sensors
 
Basic Burn Safety Training
Basic Burn Safety TrainingBasic Burn Safety Training
Basic Burn Safety Training
 
EEG Amplifiers
EEG AmplifiersEEG Amplifiers
EEG Amplifiers
 
Basics of amplifier
Basics of amplifierBasics of amplifier
Basics of amplifier
 
Transducers for bio medical
Transducers for bio medicalTransducers for bio medical
Transducers for bio medical
 
Electrical Safety
Electrical SafetyElectrical Safety
Electrical Safety
 
Amplifiers Pesentation
Amplifiers PesentationAmplifiers Pesentation
Amplifiers Pesentation
 
Power amplifiers
Power amplifiersPower amplifiers
Power amplifiers
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filters
 
Electrical Safety
Electrical  Safety Electrical  Safety
Electrical Safety
 
Transducers
TransducersTransducers
Transducers
 
Amplifiers, filters and digital recording systems
Amplifiers, filters and digital recording systemsAmplifiers, filters and digital recording systems
Amplifiers, filters and digital recording systems
 
Transducers
TransducersTransducers
Transducers
 

Similar to Sampling rate bit depth_lossey lossless

The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion processDJNila
 
Fundamentals of multimedia priya singh.pptx
Fundamentals of multimedia priya singh.pptxFundamentals of multimedia priya singh.pptx
Fundamentals of multimedia priya singh.pptxKARANPATEL770617
 
Basics-Od-Digital-Audio-Multimedia-Technologies-Unit-III.ppt
Basics-Od-Digital-Audio-Multimedia-Technologies-Unit-III.pptBasics-Od-Digital-Audio-Multimedia-Technologies-Unit-III.ppt
Basics-Od-Digital-Audio-Multimedia-Technologies-Unit-III.pptpebojey210
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audioMr SMAK
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audioMr SMAK
 
How to play audio from a microcontroller
How to play audio from a microcontrollerHow to play audio from a microcontroller
How to play audio from a microcontrollerMahadev Gopalakrishnan
 
Sound editing and remix ISBAT University, Kampala, Uganda
Sound editing and remix ISBAT University, Kampala, Uganda Sound editing and remix ISBAT University, Kampala, Uganda
Sound editing and remix ISBAT University, Kampala, Uganda B. Randhir Prasad Yadav
 
Audio125 wk1-review-digital-audio-specs-and-acoustics
Audio125 wk1-review-digital-audio-specs-and-acousticsAudio125 wk1-review-digital-audio-specs-and-acoustics
Audio125 wk1-review-digital-audio-specs-and-acousticsRaffiel203
 
Magazine article
Magazine articleMagazine article
Magazine article954869
 
Basic principles of audio recording
Basic principles of audio recordingBasic principles of audio recording
Basic principles of audio recordingHermogenes Lomosad
 
Digital technology
Digital technologyDigital technology
Digital technologyPaula Mills
 
UNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLORUNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLORNahumQuiros
 
Recording Devices
Recording DevicesRecording Devices
Recording Devicesbsutton
 

Similar to Sampling rate bit depth_lossey lossless (20)

M1L1-2.ppt
M1L1-2.pptM1L1-2.ppt
M1L1-2.ppt
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
Fundamentals of multimedia priya singh.pptx
Fundamentals of multimedia priya singh.pptxFundamentals of multimedia priya singh.pptx
Fundamentals of multimedia priya singh.pptx
 
Basics-Od-Digital-Audio-Multimedia-Technologies-Unit-III.ppt
Basics-Od-Digital-Audio-Multimedia-Technologies-Unit-III.pptBasics-Od-Digital-Audio-Multimedia-Technologies-Unit-III.ppt
Basics-Od-Digital-Audio-Multimedia-Technologies-Unit-III.ppt
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audio
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audio
 
How to play audio from a microcontroller
How to play audio from a microcontrollerHow to play audio from a microcontroller
How to play audio from a microcontroller
 
Sound editing and remix ISBAT University, Kampala, Uganda
Sound editing and remix ISBAT University, Kampala, Uganda Sound editing and remix ISBAT University, Kampala, Uganda
Sound editing and remix ISBAT University, Kampala, Uganda
 
Final article
Final articleFinal article
Final article
 
Multi media unit-2.doc
Multi media unit-2.docMulti media unit-2.doc
Multi media unit-2.doc
 
Audio125 wk1-review-digital-audio-specs-and-acoustics
Audio125 wk1-review-digital-audio-specs-and-acousticsAudio125 wk1-review-digital-audio-specs-and-acoustics
Audio125 wk1-review-digital-audio-specs-and-acoustics
 
Optical recording and reproduction
Optical recording and reproductionOptical recording and reproduction
Optical recording and reproduction
 
3 Digital Audio
3  Digital  Audio3  Digital  Audio
3 Digital Audio
 
Multimedia
MultimediaMultimedia
Multimedia
 
Magazine article
Magazine articleMagazine article
Magazine article
 
Basic principles of audio recording
Basic principles of audio recordingBasic principles of audio recording
Basic principles of audio recording
 
Digital technology
Digital technologyDigital technology
Digital technology
 
UNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLORUNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLOR
 
Recording Devices
Recording DevicesRecording Devices
Recording Devices
 

More from Jonny Williams

More from Jonny Williams (6)

VLE to NVLE
VLE to NVLEVLE to NVLE
VLE to NVLE
 
Production guidance
Production guidanceProduction guidance
Production guidance
 
Vst Virtual Studio Technology
Vst Virtual Studio TechnologyVst Virtual Studio Technology
Vst Virtual Studio Technology
 
Q
QQ
Q
 
Q triggers
Q triggersQ triggers
Q triggers
 
Writing a treatment
Writing a treatmentWriting a treatment
Writing a treatment
 

Recently uploaded

Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
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
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
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
 
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
 
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
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
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
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 

Recently uploaded (20)

YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
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
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
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
 
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
 
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...
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
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
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 

Sampling rate bit depth_lossey lossless

  • 2. What is Sound All sounds are vibrations traveling through the air as sound waves. Sound waves are caused by the vibrations of objects and radiate outward from their source in all directions. A vibrating object compresses the surrounding air molecules (squeezing them closer together) and then rarefies them (pulling them farther apart). Although the fluctuations in air pressure travel outward from the object, the air molecules themselves stay in the same average position. As sound travels, it reflects off objects in its path, creating further disturbances in the surrounding air. When these changes in air pressure vibrate your eardrum, nerve signals are sent to your brain and are interpreted as sound.
  • 3. Fundamentals of a Sound Wave • The simplest kind of sound wave is a sine wave. Pure sine waves rarely exist in the natural world, but they are a useful place to start because all other sounds can be broken down into combinations of sine waves. A sine wave clearly demonstrates the three fundamental characteristics of a sound wave: frequency, amplitude,
  • 4. Frequency • Frequency is the rate, or number of times per second, that a sound wave cycles from positive to negative to positive again. Frequency is measured in cycles per second, or hertz (Hz). Humans have a range of hearing from 20 Hz (low) to 20,000 Hz (high). Frequencies beyond this range exist, but they are inaudible to humans. Amplitude • Amplitude (or intensity) refers to the strength of a sound wave, which the human ear interprets as volume or loudness., Audio meters use a logarithmic scale (decibels) to make the units of measurement for audio loudness.
  • 5. Digital Audio • Bit rate refers to the amount of data, specifically bits, transmitted or received per second. • One of the most common bit rates given is that for compressed audio files. For example, an MP3 file might be described as having a bit rate of 160 kbit/s or 160000 bits/second. This indicates the amount of compressed data needed to store one second of music. • The standard audio CD is said to have a data rate of 44.1 kHz/16, meaning that the audio data was sampled 44,100 times per second, with a bit depth of 16. CD tracks are usually stereo, using a left and right track, so the amount of audio data per second is double that of mono, where only a single track is used. The bit rate is then 44100 samples/second x 16 bits/sample x 2 tracks = 1,411,200 bit/s or 1.4 Mbit/s.
  • 6. Digital Audio • To fully define a sound file's digital audio bit rates: the format of the data, the sampling rate, word size (bit depth), and the number of channels (e.g. mono, stereo, quad), must be known. • Calculating values • An audio file's bit rate can be calculated given sufficient information. Given any three of the following four values, the fourth can be calculated. • Bit rate = (sampling rate) × (bit depth) × (number of channels)E.g., for a recording with a 44.1 kHz sampling rate, a 16 bit depth, and 2 channels (stereo): • 44100 × 16 × 2 = 1411200 bits per second = 1411.2 kbit/sThe eventual file size of an audio recording can also be calculated using a similar formula:
  • 7. Sample rate indicates the number of digital snapshots taken of an audio signal each second. This rate determines the frequency range of an audio file. The higher the sample rate, the closer the shape of the digital waveform is to that of the original analogue waveform. Low sample rates limit the range of frequencies that can be recorded, which can result in a recording that poorly represents the original sound. A. Low sample rate that distorts the original sound wave. B. High sample rate that perfectly reproduces the original sound wave.
  • 8.
  • 9.
  • 10. Human hearing includes frequencies up to around 20,000 Hz Since every cycle of a waveform has both a positive and negative pressure, top to bottom, we must dedicate a minimum of two samples for each cycle of a wave. Therefore, the highest frequency a digital system can represent is half of the sampling rate. This is the so-called "Nyquist theory“. In the case of 44.1kHz, the highest frequency we can accurately represent is 22,050 Hertz. According to our understanding of human hearing, this frequency seems to be enough, we can capture frequencies up to 20k and even a little beyond. CD-quality (red book) sound the rate is 44,100 samples per second, 44.1 kHz
  • 11. Bit depth For every digital sample, our analogue to digital converter asks "what is the amplitude?". The question that remains is, how is this amplitude represented? The answer is "bit depth" which determines both how many different amplitude levels/steps are possible and what the overall capacity of the system is...how loud of a signal it can tolerate. CD-quality has a bit depth of 16. This means we will have 2^16 ("two to the 16th power") different amplitude values available to us Since the number of steps is divided between positive and negative values (crests and troughs) this means it is divided into 32,767 positive and 32,768 negative values. 2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2 = 65,536 steps
  • 12. For each sample taken, the actual amplitude must be "rounded" to the nearest available level...producing another "error" relative to the original audio signal. The signal is "quantized". This "quantization error" produces as small amount of "quantization noise", noise inherent to digital recording. A digital system is totally noise-less on its own, but as soon as it is recording a signal, it makes these errors and ends up with this small amount of noise.
  • 13. The overall amplitude capacity of an digital system can be theoretically approximated as 6 decibels per bit. For our 16-bit CD-quality signal, this means our system can tolerate 96 dB. (16 bits x 6 dB) So, is 16-bits enough? The threshold of hearing varies among individuals, but is often cited as 120 or 130 dB. So it may be that--unlike the CD-quality sampling rate and its accommodation for the range of human hearing--our 16-bit system is not enough. What bit depth would a system need to be to tolerate 130 dB ? 24 bit x 6 = 144 dB If care is not taken when recording, a signal can easily exceed the maximum amplitude, producing “ Digital clipping". In clipping, the waveform hits its amplitude ceiling resulting is a cropped waveform.
  • 14. The conversion of a raw audio signal into a digital representation is known as quantization. The continuous, real-world audio signal, represented here as a smooth waveform with positive and negative pressure levels, is recorded in a series of snapshots known as "samples". Each sample is, like a frame of video, a picture of the signal at that moment. Specifically, it is a picture of its amplitude. The difference between the actual incoming audio signal (grey line) and the quantized digital signal (red line) is called the quantization error. "what is the amplitude?". The succession of these amplitude measurements ("samples", shown below as dotted lines) results in a digital approximation of the original audio signal. The frequencies and notes we hear are the result of these changing amplitudes over time.
  • 15. Lossy compression • OGG Vorbis – Vorbis is an open and free audio compression which normally goes under the name format of OGG. Due to the free nature, Ogg Vorbis format has proved popular among the open source communities, along with its claimed best quality lossy audio codec (at certain bitrates). • WMA (Windows Media Audio) – WMA is Microsoft’s audio file format. A WMA file is almost always encapsulated in an Advanced Systems Format file. The resulting file may have the Filename extension .wma or .asf (.wma being used being used if audio only). Windows Media Audio supports DRM which has led to itself as a competitor to the AAC format used by iTunes. •