SlideShare a Scribd company logo
1 of 29
Digital Audio
By
Dr. R. Manjula Devi
Assistant Professor(SRG) / CSE
Why audio?
• To create moods, enhance understanding, reinforce
concepts, enhance multimedia games through
background music and sound effects
• Scope of digital applications:
– Computer generated sound, sound storage and
processing, digital communications, answering service,
speech synthesis, speech recognition, computerized call
centre, presentation of data as sound
– Can enable programs to have more user friendly interface
Processing and Representation of
Digital Audio
• Includes:Processes of generation, propagation,
amplification and transformation
Uses of sound in multimedia
• It can simulate emotional responses
• To convey an educational message
• To alert the users in computer games
• To enjoy music, video and audio narrations
• To aid in learning foreign languages-speaking
and listening
Possible Justifications of using
sound
Representation of Sound
• Sound
– Continuous vibration caused by waves travel through
the air
– Physical characteristics: frequency and amplitude
– vibrations generated from our ear drums; generate
nerve signals when reaching the brain, produce the
perception of sound
• Measures of auditory perception of our ear:
– Loudness and pitch
Analog vs. Digital Audio
Analog Digital
Normal sound perceived by
our ear - Voice, musical
instruments, all other audio
sources
Sound was encoded on CD
as numerical information.
Recording: on the disk as
physical grooves or on the
tape as magnetic orientation
of fine ferromagnetic
particles
Laser beam is used to read
and translate the recording,
which does not degrade the
quality with repeated use.
Drawbacks:
Quality of recording
degrades with each
generation of duplication
Advantages: Portability,
Durability, Options to record
and process, better sound
quality
Producing Digital Audio
• 2 ways to convert analog to digital:
– Converting analog recording into digital form
– Direct digital recording of the sound
• Microphones: translate analog signals to electric
impulses which are converted as numbers
• Digital Audio Tapes(DAT): convert analog to
digital having high quality
• Others: sound synthesizer or software
Microphones
• 3 basic designs of microphone:
– 1. dynamic :
• commonly used, less cost,
• vibrations of light & easy to move diaphragm produce electric
signal by induction in a wire coil attached to end of the cone;
• weight of these elements limits the frequency response
– 2. condenser :
• more accurate, more sensitive, more expensive
• Uses big open-air capacitors to pick up sound waves
– 3. crystal
• Uses unique properties of some crystals, which create signals
Digitisation of Analog signal
• Pulse Code Modulation(PCM) : 2 step
processes:
– 1.Sampling: An analog signal approximated by taking
samples at regular intervals; sampling rate determines
frequency resolution;
– more samples -> better quality and more bits needed to
store data (called as resolution); Eg. 11.025,22.05, 44
kHz.
– 2.Quantisation: refers resolutions; Eg. 8 / 16 bits
Digitisation of Analog signal
Nyquist Sampling Criteria
• It states that
– A finite band limited signal of frequency fm can be
completely represented if the signal is uniformly
sampled at a rate greater than or equal to 2fm.
– If sampling rate fs > 2fm, then sampled values will
contain all information of the original signal
– fs > 40 kHz produces high quality (Audio CD) sound.
Quantisation
Quantisation
• It is the process of approximating a
continuous signal by a set of discrete
symbols or integer values.
• Turn samples into numbers
• Break the full +ve & -ve range of sample
amplitude values into N sections; code it in
log2(N) bits; No. of bits determines resolution
• Quantisation operator: Q(x) = round(f(x)),
where x is real no., f(x) is an arbitrary real-
valued function
Linear vs. Non-linear
quantisation
• Linear: each code word represents a
quantisation interval of equal length; low
amplitude signals are more sensitive to noise
• Non-linear: more digits to represent samples at
some levels and less for samples at other levels.
•  Law (for North America) & -Law (for Europe)
– std telephone communications
• Quantisation Error: Error between sampled
discrete values and actual continuous sound.
Psychoacoustics
• Higher amplitude, louder the sound we hear;
• Frequency = no. of times a wave cycle is
repeated per unit time.
• Loudness and pitch : amplitude and frequency
• Loudness is measured in decibels(dB):50dB to
120dB
• Range of hearing for human: 20Hz to 20kHz
• More sensitive: 1 kHz to 5 kHz.
• English: 500Hz to 2kHz.
Masking
• Masking: Loud tones can mask the perception
of other(quieter) tones at nearby frequencies
• Some tones are cannot be heard
• Types of masking:
– Non-parallel(time-domain)
– Parallel(frequency domain)
Perceptual Encoding
• Perceptual Encoding: allow production of very
compact but high quality music.
– used in realaudio(.rm), mp3,windows media audio(.wma),
etc.
– Audio compression based on human hearing
– MPEG uses monophonic, dual-phonic, stereo, joint-
stereo models; AAC(advanced audio coding) used for
surround sound effect
– Bit rates for compression schemes:
• MPEG Layer 1 32 - 448 kbps
• MPEG Layer 2 32 - 384 kbps
• MPEG Layer 3 32 - 320 kbps (popular audio format)
• AAC 32 - 192 kbps
Processing Sound
• Recorded, digitised, processed and incorporated into
multimedia
• Digital to Analog Converter(DAC) reproduce analog
signals.
• software have builtin tools that allow to perform
noise reduction, addition of echo, mixing of sound
tracks, etc. Eg.SoundForge, Audacity
• Additive Synthesis: No. of different wave forms can
be combined to form complex waveform
Processing Sound
MIDI
• Musical Instrument Digital Interface – will
produce synthetic sound (1982)
• Format for sending music information between
electronic music devices like synthesisers and PC
sound cards
• contains only set of digital musical instructions
(values for the note’s pitch, length and volume) that
can be interpreted by PC’s sound card
• lot of music can be packed in small MIDI file (.mid)
• It cannot record sounds
Guidelines for effective use of
audio in multimedia applications
• If different music files are used – same style
• Best to use same voice for narration and voice –overs
• For each character, the voices should be distinct
• Coordinate the sound files with other graphic
animation, etc.
• For web based applications – use MIDI files
• Clear label for downloaded audio files
• Avoid using sound files recorded at different resolution
Representation of Audio files
• Choice of multimedia sound format depends
• Target application or user
• Purpose
• Availability of hardware and software
• Cost involved in producing sound
Audio Codec
• Audio Codec : computer program that
compresses/decompresses digital audio data
using libraries (executed within media player)
• Audio is compressed and stored – determined
by codec(compressor/decompressor)
• Codec – determines file size
Main categories of audio file
formats
• Uncompressed :referred as PCM(Pulse Coded
Modulation)- large file sizes - .wav files
• Lossless compression: no information lost –
quality not degraded - .wma files
• Lossy compression: eliminates redundant/
unnecessary information – small file size - .mp3,
real audio, Ogg Vorbis files
Common audio file formats
• MP3: popular audio format
– Uses perceptual audio coding & psychoacoustic
compression to remove redundant information
– Uses MDCT(Modified Discrete Cosine Transform) to
implement a filter bank, increasing resolution
– Shrinks original data by a factor of 12
• Ogg Vorbis(.ogg): free, open plug-in available for
common media player
• Windows Media Audio(.wma): Microsoft – similar to
MP3 – any compressed size to match different
connection bandwidths
Common audio file formats
• Waveform Audio File (.wav): support for
Windows OS – uncompressed – Large file size –
10MB / minute
• Audio File (.au): widely accepted cross-platform
format – web pages – similar to .wav
• Advanced Audio Coding(.aac): based on
MPEG4 – Apple
• Audio Interchange File Format(.aif) – Apple –
equivalent of WAV files – not cross platform –
not supported by all browsers
Audio Streaming and RealAudio
• RealAudio (.ra, .ram. .rm) : also supports video –
allows streaming of audio with low bandwidths
• Low quality – play digital audio in internet using
RealPlayer
• Proprietary method of compression and an
associated protocol for transmitting digital sound.
• It does not have any error checking
• Streaming requirements: 1. browser must accept
streams of data in realaudio format 2. uses UDP to
achieve steady data flow.
THANK
YOU

More Related Content

What's hot

Video compression
Video compressionVideo compression
Video compressionnnmaurya
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compressionmurugan hari
 
digital image processing
digital image processingdigital image processing
digital image processingAbinaya B
 
Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersKuppusamy P
 
Mpeg video compression
Mpeg video compressionMpeg video compression
Mpeg video compressionGem WeBlog
 
Image Sensing and Acquisition.pptx
Image Sensing and Acquisition.pptxImage Sensing and Acquisition.pptx
Image Sensing and Acquisition.pptxRUBIN (A) JEBIN
 
Lecture 8 audio compression
Lecture 8 audio compressionLecture 8 audio compression
Lecture 8 audio compressionMr SMAK
 
DIGITAL IMAGE PROCESSING - Visual perception - DAY 2
DIGITAL IMAGE PROCESSING - Visual perception - DAY 2DIGITAL IMAGE PROCESSING - Visual perception - DAY 2
DIGITAL IMAGE PROCESSING - Visual perception - DAY 2vijayanand Kandaswamy
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restorationMd Shabir Alam
 

What's hot (20)

Video compression
Video compressionVideo compression
Video compression
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compression
 
digital image processing
digital image processingdigital image processing
digital image processing
 
Subband Coding
Subband CodingSubband Coding
Subband Coding
 
Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filters
 
Mpeg video compression
Mpeg video compressionMpeg video compression
Mpeg video compression
 
Image Sensing and Acquisition.pptx
Image Sensing and Acquisition.pptxImage Sensing and Acquisition.pptx
Image Sensing and Acquisition.pptx
 
Sound
SoundSound
Sound
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Digital video
Digital videoDigital video
Digital video
 
Chain code in dip
Chain code in dipChain code in dip
Chain code in dip
 
Module 31
Module 31Module 31
Module 31
 
Lecture 8 audio compression
Lecture 8 audio compressionLecture 8 audio compression
Lecture 8 audio compression
 
DIGITAL IMAGE PROCESSING - Visual perception - DAY 2
DIGITAL IMAGE PROCESSING - Visual perception - DAY 2DIGITAL IMAGE PROCESSING - Visual perception - DAY 2
DIGITAL IMAGE PROCESSING - Visual perception - DAY 2
 
Types of images
Types of imagesTypes of images
Types of images
 
Mp3
Mp3Mp3
Mp3
 
Linear Predictive Coding
Linear Predictive CodingLinear Predictive Coding
Linear Predictive Coding
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Image compression models
Image compression modelsImage compression models
Image compression models
 

Similar to Digital Audio Formats and Processing Explained

Similar to Digital Audio Formats and Processing Explained (20)

audio digital.pdf
audio digital.pdfaudio digital.pdf
audio digital.pdf
 
Chapter 7 Sound
Chapter 7 SoundChapter 7 Sound
Chapter 7 Sound
 
Chapter 4 : SOUND
Chapter 4 : SOUNDChapter 4 : SOUND
Chapter 4 : SOUND
 
Chapter Seven
Chapter SevenChapter Seven
Chapter Seven
 
Sound.pptx
Sound.pptxSound.pptx
Sound.pptx
 
Digital Audio in Multimedia
Digital Audio in MultimediaDigital Audio in Multimedia
Digital Audio in Multimedia
 
Multimedia tools (sound)
Multimedia tools (sound)Multimedia tools (sound)
Multimedia tools (sound)
 
Sound
SoundSound
Sound
 
Multimedia System & Design Ch 4 Audio
Multimedia System & Design Ch 4 AudioMultimedia System & Design Ch 4 Audio
Multimedia System & Design Ch 4 Audio
 
CHAPTER – 5 Audio
CHAPTER – 5     AudioCHAPTER – 5     Audio
CHAPTER – 5 Audio
 
Audio-1
Audio-1Audio-1
Audio-1
 
Audio
AudioAudio
Audio
 
Multimedia and-system-design-sound-images by zubair yaseen& yameen shakir
Multimedia and-system-design-sound-images by zubair yaseen& yameen shakirMultimedia and-system-design-sound-images by zubair yaseen& yameen shakir
Multimedia and-system-design-sound-images by zubair yaseen& yameen shakir
 
Soundpres
SoundpresSoundpres
Soundpres
 
Multimedia Services: Audio
Multimedia Services: AudioMultimedia Services: Audio
Multimedia Services: Audio
 
Digital audio
Digital audioDigital audio
Digital audio
 
MAT Chapter 1
MAT Chapter 1MAT Chapter 1
MAT Chapter 1
 
Multimedia chapter 4
Multimedia chapter 4Multimedia chapter 4
Multimedia chapter 4
 
abra ka dabra.pdf
abra ka dabra.pdfabra ka dabra.pdf
abra ka dabra.pdf
 
Ch05
Ch05Ch05
Ch05
 

More from Gem WeBlog

Analysis of optimization algorithms
Analysis of optimization algorithmsAnalysis of optimization algorithms
Analysis of optimization algorithmsGem WeBlog
 
Particle swarm intelligence
Particle swarm intelligenceParticle swarm intelligence
Particle swarm intelligenceGem WeBlog
 
Nature inspired metaheuristics
Nature inspired metaheuristicsNature inspired metaheuristics
Nature inspired metaheuristicsGem WeBlog
 
Darwin's theory of evolution
Darwin's theory of evolutionDarwin's theory of evolution
Darwin's theory of evolutionGem WeBlog
 
no free-lunch theorem
no free-lunch theoremno free-lunch theorem
no free-lunch theoremGem WeBlog
 
Video and animation
Video and animationVideo and animation
Video and animationGem WeBlog
 
Designing multimedia
Designing multimediaDesigning multimedia
Designing multimediaGem WeBlog
 
Testing and Rolling Out Enterprise Applications
Testing and Rolling Out Enterprise ApplicationsTesting and Rolling Out Enterprise Applications
Testing and Rolling Out Enterprise ApplicationsGem WeBlog
 
Constructing Enterprise Applications
Constructing Enterprise  ApplicationsConstructing Enterprise  Applications
Constructing Enterprise ApplicationsGem WeBlog
 
Architecting and Designing Enterprise Applications
Architecting and Designing Enterprise ApplicationsArchitecting and Designing Enterprise Applications
Architecting and Designing Enterprise ApplicationsGem WeBlog
 
Incepting Enterprise Applications
Incepting Enterprise ApplicationsIncepting Enterprise Applications
Incepting Enterprise ApplicationsGem WeBlog
 
Introduction to BEA
Introduction to BEAIntroduction to BEA
Introduction to BEAGem WeBlog
 
Pointers and Structures
Pointers and StructuresPointers and Structures
Pointers and StructuresGem WeBlog
 
Dynamic memory allocation
Dynamic memory allocationDynamic memory allocation
Dynamic memory allocationGem WeBlog
 
Function pointer
Function pointerFunction pointer
Function pointerGem WeBlog
 
10. NULL pointer
10. NULL pointer10. NULL pointer
10. NULL pointerGem WeBlog
 
13. Pointer and 2D array
13. Pointer  and  2D array13. Pointer  and  2D array
13. Pointer and 2D arrayGem WeBlog
 
12.string and pointer
12.string and pointer12.string and pointer
12.string and pointerGem WeBlog
 
7. Pointer Arithmetic
7. Pointer Arithmetic7. Pointer Arithmetic
7. Pointer ArithmeticGem WeBlog
 
1. Pointer Basic
1. Pointer Basic1. Pointer Basic
1. Pointer BasicGem WeBlog
 

More from Gem WeBlog (20)

Analysis of optimization algorithms
Analysis of optimization algorithmsAnalysis of optimization algorithms
Analysis of optimization algorithms
 
Particle swarm intelligence
Particle swarm intelligenceParticle swarm intelligence
Particle swarm intelligence
 
Nature inspired metaheuristics
Nature inspired metaheuristicsNature inspired metaheuristics
Nature inspired metaheuristics
 
Darwin's theory of evolution
Darwin's theory of evolutionDarwin's theory of evolution
Darwin's theory of evolution
 
no free-lunch theorem
no free-lunch theoremno free-lunch theorem
no free-lunch theorem
 
Video and animation
Video and animationVideo and animation
Video and animation
 
Designing multimedia
Designing multimediaDesigning multimedia
Designing multimedia
 
Testing and Rolling Out Enterprise Applications
Testing and Rolling Out Enterprise ApplicationsTesting and Rolling Out Enterprise Applications
Testing and Rolling Out Enterprise Applications
 
Constructing Enterprise Applications
Constructing Enterprise  ApplicationsConstructing Enterprise  Applications
Constructing Enterprise Applications
 
Architecting and Designing Enterprise Applications
Architecting and Designing Enterprise ApplicationsArchitecting and Designing Enterprise Applications
Architecting and Designing Enterprise Applications
 
Incepting Enterprise Applications
Incepting Enterprise ApplicationsIncepting Enterprise Applications
Incepting Enterprise Applications
 
Introduction to BEA
Introduction to BEAIntroduction to BEA
Introduction to BEA
 
Pointers and Structures
Pointers and StructuresPointers and Structures
Pointers and Structures
 
Dynamic memory allocation
Dynamic memory allocationDynamic memory allocation
Dynamic memory allocation
 
Function pointer
Function pointerFunction pointer
Function pointer
 
10. NULL pointer
10. NULL pointer10. NULL pointer
10. NULL pointer
 
13. Pointer and 2D array
13. Pointer  and  2D array13. Pointer  and  2D array
13. Pointer and 2D array
 
12.string and pointer
12.string and pointer12.string and pointer
12.string and pointer
 
7. Pointer Arithmetic
7. Pointer Arithmetic7. Pointer Arithmetic
7. Pointer Arithmetic
 
1. Pointer Basic
1. Pointer Basic1. Pointer Basic
1. Pointer Basic
 

Recently uploaded

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 

Recently uploaded (20)

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
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🔝
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 

Digital Audio Formats and Processing Explained

  • 1. Digital Audio By Dr. R. Manjula Devi Assistant Professor(SRG) / CSE
  • 2. Why audio? • To create moods, enhance understanding, reinforce concepts, enhance multimedia games through background music and sound effects • Scope of digital applications: – Computer generated sound, sound storage and processing, digital communications, answering service, speech synthesis, speech recognition, computerized call centre, presentation of data as sound – Can enable programs to have more user friendly interface
  • 3. Processing and Representation of Digital Audio • Includes:Processes of generation, propagation, amplification and transformation
  • 4. Uses of sound in multimedia • It can simulate emotional responses • To convey an educational message • To alert the users in computer games • To enjoy music, video and audio narrations • To aid in learning foreign languages-speaking and listening
  • 6. Representation of Sound • Sound – Continuous vibration caused by waves travel through the air – Physical characteristics: frequency and amplitude – vibrations generated from our ear drums; generate nerve signals when reaching the brain, produce the perception of sound • Measures of auditory perception of our ear: – Loudness and pitch
  • 7. Analog vs. Digital Audio Analog Digital Normal sound perceived by our ear - Voice, musical instruments, all other audio sources Sound was encoded on CD as numerical information. Recording: on the disk as physical grooves or on the tape as magnetic orientation of fine ferromagnetic particles Laser beam is used to read and translate the recording, which does not degrade the quality with repeated use. Drawbacks: Quality of recording degrades with each generation of duplication Advantages: Portability, Durability, Options to record and process, better sound quality
  • 8. Producing Digital Audio • 2 ways to convert analog to digital: – Converting analog recording into digital form – Direct digital recording of the sound • Microphones: translate analog signals to electric impulses which are converted as numbers • Digital Audio Tapes(DAT): convert analog to digital having high quality • Others: sound synthesizer or software
  • 9. Microphones • 3 basic designs of microphone: – 1. dynamic : • commonly used, less cost, • vibrations of light & easy to move diaphragm produce electric signal by induction in a wire coil attached to end of the cone; • weight of these elements limits the frequency response – 2. condenser : • more accurate, more sensitive, more expensive • Uses big open-air capacitors to pick up sound waves – 3. crystal • Uses unique properties of some crystals, which create signals
  • 10. Digitisation of Analog signal • Pulse Code Modulation(PCM) : 2 step processes: – 1.Sampling: An analog signal approximated by taking samples at regular intervals; sampling rate determines frequency resolution; – more samples -> better quality and more bits needed to store data (called as resolution); Eg. 11.025,22.05, 44 kHz. – 2.Quantisation: refers resolutions; Eg. 8 / 16 bits
  • 12. Nyquist Sampling Criteria • It states that – A finite band limited signal of frequency fm can be completely represented if the signal is uniformly sampled at a rate greater than or equal to 2fm. – If sampling rate fs > 2fm, then sampled values will contain all information of the original signal – fs > 40 kHz produces high quality (Audio CD) sound.
  • 14. Quantisation • It is the process of approximating a continuous signal by a set of discrete symbols or integer values. • Turn samples into numbers • Break the full +ve & -ve range of sample amplitude values into N sections; code it in log2(N) bits; No. of bits determines resolution • Quantisation operator: Q(x) = round(f(x)), where x is real no., f(x) is an arbitrary real- valued function
  • 15. Linear vs. Non-linear quantisation • Linear: each code word represents a quantisation interval of equal length; low amplitude signals are more sensitive to noise • Non-linear: more digits to represent samples at some levels and less for samples at other levels. •  Law (for North America) & -Law (for Europe) – std telephone communications • Quantisation Error: Error between sampled discrete values and actual continuous sound.
  • 16. Psychoacoustics • Higher amplitude, louder the sound we hear; • Frequency = no. of times a wave cycle is repeated per unit time. • Loudness and pitch : amplitude and frequency • Loudness is measured in decibels(dB):50dB to 120dB • Range of hearing for human: 20Hz to 20kHz • More sensitive: 1 kHz to 5 kHz. • English: 500Hz to 2kHz.
  • 17. Masking • Masking: Loud tones can mask the perception of other(quieter) tones at nearby frequencies • Some tones are cannot be heard • Types of masking: – Non-parallel(time-domain) – Parallel(frequency domain)
  • 18. Perceptual Encoding • Perceptual Encoding: allow production of very compact but high quality music. – used in realaudio(.rm), mp3,windows media audio(.wma), etc. – Audio compression based on human hearing – MPEG uses monophonic, dual-phonic, stereo, joint- stereo models; AAC(advanced audio coding) used for surround sound effect – Bit rates for compression schemes: • MPEG Layer 1 32 - 448 kbps • MPEG Layer 2 32 - 384 kbps • MPEG Layer 3 32 - 320 kbps (popular audio format) • AAC 32 - 192 kbps
  • 19. Processing Sound • Recorded, digitised, processed and incorporated into multimedia • Digital to Analog Converter(DAC) reproduce analog signals. • software have builtin tools that allow to perform noise reduction, addition of echo, mixing of sound tracks, etc. Eg.SoundForge, Audacity • Additive Synthesis: No. of different wave forms can be combined to form complex waveform
  • 21. MIDI • Musical Instrument Digital Interface – will produce synthetic sound (1982) • Format for sending music information between electronic music devices like synthesisers and PC sound cards • contains only set of digital musical instructions (values for the note’s pitch, length and volume) that can be interpreted by PC’s sound card • lot of music can be packed in small MIDI file (.mid) • It cannot record sounds
  • 22. Guidelines for effective use of audio in multimedia applications • If different music files are used – same style • Best to use same voice for narration and voice –overs • For each character, the voices should be distinct • Coordinate the sound files with other graphic animation, etc. • For web based applications – use MIDI files • Clear label for downloaded audio files • Avoid using sound files recorded at different resolution
  • 23. Representation of Audio files • Choice of multimedia sound format depends • Target application or user • Purpose • Availability of hardware and software • Cost involved in producing sound
  • 24. Audio Codec • Audio Codec : computer program that compresses/decompresses digital audio data using libraries (executed within media player) • Audio is compressed and stored – determined by codec(compressor/decompressor) • Codec – determines file size
  • 25. Main categories of audio file formats • Uncompressed :referred as PCM(Pulse Coded Modulation)- large file sizes - .wav files • Lossless compression: no information lost – quality not degraded - .wma files • Lossy compression: eliminates redundant/ unnecessary information – small file size - .mp3, real audio, Ogg Vorbis files
  • 26. Common audio file formats • MP3: popular audio format – Uses perceptual audio coding & psychoacoustic compression to remove redundant information – Uses MDCT(Modified Discrete Cosine Transform) to implement a filter bank, increasing resolution – Shrinks original data by a factor of 12 • Ogg Vorbis(.ogg): free, open plug-in available for common media player • Windows Media Audio(.wma): Microsoft – similar to MP3 – any compressed size to match different connection bandwidths
  • 27. Common audio file formats • Waveform Audio File (.wav): support for Windows OS – uncompressed – Large file size – 10MB / minute • Audio File (.au): widely accepted cross-platform format – web pages – similar to .wav • Advanced Audio Coding(.aac): based on MPEG4 – Apple • Audio Interchange File Format(.aif) – Apple – equivalent of WAV files – not cross platform – not supported by all browsers
  • 28. Audio Streaming and RealAudio • RealAudio (.ra, .ram. .rm) : also supports video – allows streaming of audio with low bandwidths • Low quality – play digital audio in internet using RealPlayer • Proprietary method of compression and an associated protocol for transmitting digital sound. • It does not have any error checking • Streaming requirements: 1. browser must accept streams of data in realaudio format 2. uses UDP to achieve steady data flow.