SlideShare a Scribd company logo
1 of 14
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.

More Related Content

What's hot

Analog vs digital communication
Analog vs digital communicationAnalog vs digital communication
Analog vs digital communicationSahil Rana
 
ADC - Analog digital converter
ADC - Analog digital converterADC - Analog digital converter
ADC - Analog digital converterMahmoud Salheen
 
Adaptive differential pcm
Adaptive differential pcmAdaptive differential pcm
Adaptive differential pcmmpsrekha83
 
Introduction of digital communication
Introduction of digital communicationIntroduction of digital communication
Introduction of digital communicationasodariyabhavesh
 
Digital modulation basics(nnm)
Digital modulation basics(nnm)Digital modulation basics(nnm)
Digital modulation basics(nnm)nnmaurya
 
Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Project Student
 
Introductory Lecture to Audio Signal Processing
Introductory Lecture to Audio Signal ProcessingIntroductory Lecture to Audio Signal Processing
Introductory Lecture to Audio Signal ProcessingAngelo Salatino
 
Pulse code modulation (PCM)
Pulse code modulation (PCM)Pulse code modulation (PCM)
Pulse code modulation (PCM)Mahima Shastri
 
Arithmetic coding
Arithmetic codingArithmetic coding
Arithmetic codingVikas Goyal
 
Adaptive delta modulation
Adaptive delta modulationAdaptive delta modulation
Adaptive delta modulationmpsrekha83
 
DATA RATE LIMITS
DATA RATE LIMITSDATA RATE LIMITS
DATA RATE LIMITSChAwais15
 
Shannon Capacity Theorem
Shannon Capacity TheoremShannon Capacity Theorem
Shannon Capacity Theoremlaibahasan4
 
Pulse Code Modulation (PCM)
Pulse Code Modulation (PCM)Pulse Code Modulation (PCM)
Pulse Code Modulation (PCM)Arun c
 

What's hot (20)

Analog vs digital communication
Analog vs digital communicationAnalog vs digital communication
Analog vs digital communication
 
Image compression
Image compressionImage compression
Image compression
 
ADC - Analog digital converter
ADC - Analog digital converterADC - Analog digital converter
ADC - Analog digital converter
 
Adaptive differential pcm
Adaptive differential pcmAdaptive differential pcm
Adaptive differential pcm
 
Introduction of digital communication
Introduction of digital communicationIntroduction of digital communication
Introduction of digital communication
 
Pulse code modulation
Pulse code modulationPulse code modulation
Pulse code modulation
 
Digital modulation basics(nnm)
Digital modulation basics(nnm)Digital modulation basics(nnm)
Digital modulation basics(nnm)
 
Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)
 
Pulse Code Modulation
Pulse Code ModulationPulse Code Modulation
Pulse Code Modulation
 
Sound
SoundSound
Sound
 
Introductory Lecture to Audio Signal Processing
Introductory Lecture to Audio Signal ProcessingIntroductory Lecture to Audio Signal Processing
Introductory Lecture to Audio Signal Processing
 
Pulse code modulation (PCM)
Pulse code modulation (PCM)Pulse code modulation (PCM)
Pulse code modulation (PCM)
 
Arithmetic coding
Arithmetic codingArithmetic coding
Arithmetic coding
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
Modulation Techniques for Mobile Radio
Modulation Techniques for Mobile RadioModulation Techniques for Mobile Radio
Modulation Techniques for Mobile Radio
 
Adaptive delta modulation
Adaptive delta modulationAdaptive delta modulation
Adaptive delta modulation
 
1 PCM & Encoding
1  PCM & Encoding1  PCM & Encoding
1 PCM & Encoding
 
DATA RATE LIMITS
DATA RATE LIMITSDATA RATE LIMITS
DATA RATE LIMITS
 
Shannon Capacity Theorem
Shannon Capacity TheoremShannon Capacity Theorem
Shannon Capacity Theorem
 
Pulse Code Modulation (PCM)
Pulse Code Modulation (PCM)Pulse Code Modulation (PCM)
Pulse Code Modulation (PCM)
 

Viewers also liked

Viewers also liked (20)

Sampling rate bit depth_lossey lossless
Sampling rate bit depth_lossey losslessSampling rate bit depth_lossey lossless
Sampling rate bit depth_lossey lossless
 
05 audio
05 audio05 audio
05 audio
 
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
 
Audio encoding principles
Audio encoding principlesAudio encoding principles
Audio encoding principles
 
Basic electrical safety
Basic electrical safetyBasic electrical safety
Basic electrical safety
 
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
 
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
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audio
 
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
 
Sampling
SamplingSampling
Sampling
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filters
 

Similar to Sampling rate bit depth

Chapter 02 audio recording - part i
Chapter 02   audio recording - part iChapter 02   audio recording - part i
Chapter 02 audio recording - part iNazihah Ahwan
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion processDJNila
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audioMr SMAK
 
Introduction to audio normalization
Introduction to audio normalizationIntroduction to audio normalization
Introduction to audio normalizationKeico Tu
 
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
 
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
 
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
 
Digital Electronics for Audio
Digital Electronics for AudioDigital Electronics for Audio
Digital Electronics for Audiojazztothebone
 
Basic principles of audio recording
Basic principles of audio recordingBasic principles of audio recording
Basic principles of audio recordingHermogenes Lomosad
 

Similar to Sampling rate bit depth (20)

Chapter 02 audio recording - part i
Chapter 02   audio recording - part iChapter 02   audio recording - part i
Chapter 02 audio recording - part i
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
 
Chap65
Chap65Chap65
Chap65
 
M1L1-2.ppt
M1L1-2.pptM1L1-2.ppt
M1L1-2.ppt
 
Week two a d conversion
Week two a d conversionWeek two a d conversion
Week two a d conversion
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
Digital audio
Digital audioDigital audio
Digital audio
 
Sound digitalisation
Sound digitalisationSound digitalisation
Sound digitalisation
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audio
 
Introduction to audio normalization
Introduction to audio normalizationIntroduction to audio normalization
Introduction to audio normalization
 
Fundamentals of multimedia priya singh.pptx
Fundamentals of multimedia priya singh.pptxFundamentals of multimedia priya singh.pptx
Fundamentals of multimedia priya singh.pptx
 
Optical recording and reproduction
Optical recording and reproductionOptical recording and reproduction
Optical recording and reproduction
 
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
 
Soundpres
SoundpresSoundpres
Soundpres
 
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
 
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
 
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
 
Digital Electronics for Audio
Digital Electronics for AudioDigital Electronics for Audio
Digital Electronics for Audio
 
Basic principles of audio recording
Basic principles of audio recordingBasic principles of audio recording
Basic principles of audio recording
 
Mp3
Mp3Mp3
Mp3
 

Recently uploaded

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 

Recently uploaded (20)

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

Sampling rate bit depth

  • 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.