SlideShare a Scribd company logo
1 of 29
Digital Audio
BY
K.LALITHAMBIGA,
II –Msc (CS&IT ),
Department of CS&IT,
NS College of Arts and Science,
Theni.
Synopsis
Introduction
Characteristics of sound and digital audio
Digital Audio System
MIDI
Audio File Formats
Using Audio in Multimedia Applications Audio
Digital Audio
SOUND
◦ Sound is simply waves of compressed
air that move out from its source, similar to dropping a stone in
water.
◦ Your ears are sensitive to these compressed waves. As the sound
waves interact with your ear drum, the signal is sent to your
brain, converting them to the sounds that you recognize.
 Two types of Sounds
 Analog sound(recorded &reproduce the signals)
 Digital sound(stored as numerical data &
easily reproduced & manipulated)
Characteristics of Sound & Digital
Audio
 Sound is based on two things: Energy & Transport medium.
 Energy from a banging drum is converted into pressure that is
transmitted by the air.
 There are two characteristic of sound waves
◦ Amplitude
◦ Amplitude is the power or intensity of the sound.
◦ The louder the sound, the larger the amplitude.
◦ Frequency
◦ Frequency is the rate at which sound is measured.
◦ It is measured in cycles per second or Hertz(Hz).
Voice and Music
 The Three classes of sounds:
 Voices,
 Music and
 Sound effects.
 Voice is defined as talking, not singing by human. It is does
not have a pitch and tone.
 Music can have rapid changes in tone and pitch. It is
usually recorded and played in stereo.
 Sound effects can be voice or music. It is vary in tone, pitch
and time.
Digitizing Sound
 Digitizing Sound means capturing the sound
amplitude at a specific frequency.
 The three characteristics for recording sound:
 Frequency rate
 Amplitude measurement
 Sound channels (Monaural or stereo)
 For multimedia computers, standard
frequency rates includes
 11.025 Kilohertz(KHz)
 22.5 KHz
 44.1 KHz
◦ Amplitude measurement is based on 8 bits(1byte) for 256 levels
and 16 bits for 65,536 levels
Calculating Audio Data Size
 There are three characteristic is used to calculating audio file sizes,
amplitude, sound channels and frequency rates
 c=number of channels(mono-1channel, stereo- 2channel)
 s=sampling rate in Hertz(cycle per second)
 t=a time(second)
 b=bytes(1for 8 bits, 2 for 16 bits)
File size=c*s*t*b
Digital Audio System
 Digital audios created when the characteristic of sound wave is represent
using number – a process referred to as Digitizing.
 We can digitize any sound(Microphone, Synthesizer…)
 Digitized sound is sampled sound
 Every nth fraction of a second, a sample of a sound is taken & stored as
digital information in bits and bytes.
 The quality of digital recording depends on the how often the samples
are taken
i.e. Higher the sampling rate better is the quality of sound.
 sampling rates are normally used in multimedia 44.1KHz(CD-
Quality),22.05 KHz and 11.025KHz
 Larger the sample size, more accurate data will describe the recorded
sound
 The value of each sample is rounded off to the nearest integer called
Quantization.
Digital Audio software support
Playback
Record
Stop
Fast forward
Reverse
Rewind
Editing Digital Audio
Trimming the clip & Splicing and Assembly
Volume adjustment & Format Conversion
Resampling or down sampling &
Fade-ins & fade-out
Equalization & Time-Stretching
Digital Signal Processing & Reversing sounds
Sound Controls
 Multimedia computes usually have software that acts as a control for
the computer’s sound playback and recording. This software includes:
◦ Selection of components(Microphones, Speakers, Line-in, Line-out)
◦ Volume level, both monaural and stereo
◦ Recording input level
◦ Bass and treble controls
These controls are usually accessible
for a user from the operating system of
the computers as well as from within multimedia products
themselves
MIDI(Musical Instrument Digital
Interface)
 It is a communications standard developed in the 1980’s for
electronic instruments and computers
 It allows instruments from different manufactures to communicate
 But MIDI data is not digitized, its only music data stored in
numeric form.
 Digital Audio is recorded where as MIDI is a score
 Device Independent
 This file is a list of time stamped commands
that are recordings of musical actions
 Using MIDI, we can easily and quickly compose our own original
score
 The process of creating MIDI is quite different from digitizing a
recorded audio
 Digitized Audio – Bitmap Image the MIDI –Vector graphics
 For digitized audio we simple need to play the recording through a
computer device that can digitally record the sound
◦ To make MIDI, we need
 Notation software
 Sequencer software
 Synthesizer
 MIDI Keyboard
MIDI vs. Digital Audio
Advantages
MIDI files are more compact that audio files
MIDI is small, can be easily embedded into the web pages
MIDI sound source is high quality, this sounds better than audio
files
MIDI data is completely editable
MIDI data can be easily converted to musical notations and vise
versa.
Audio File Format
 A sound files format is a recognized
methodology for compressing data bits
of digitized sound into a data file
 The structure of the file must be known even before the data
can be saved or later loaded into a computer to be edited or
played as sound
 The file name extension identifies the method of storage used
 On the Macintosh, digitized sounds may be stored as data
files, resources, or applications such as AIFF or AIFC
 In Windows, digitized sounds are usually stored as WAV files
 Both can use MIDI files(.mid)
Audio File Format
 The method used for consumer grade music CD’s is
Linear Pulse Code modulation(LPCM shortened to
PCM)
 CD-ROM/XA (Extended Architecture) format for
reading and writing CD’s was developed later so one
can put several recording sessions of music to be
placed on a single CD-R
 LPCM tracks from an Audio CD are usually
converted and stored on a computer in
uncompressed AIFF or WAV format
◦ AIFF-Audio Interchange File Format Both contain
◦ WAV-Wave Format Uncompressed data
Audio File Format
 There are huge no of file formats &
“Multimedia Containers” that store sound data
 There are converter to read & write sound
files from one format to another
 MP3 was developed by MPEG (Moving Picture Expert Group)
 Common method for storing consumer audio
 Contains lossy compression algorithm to save space
 Evolved in early 1990’s
WMA(Windows Media Audio) is a proprietary format
OGG was developed as an open-source and royalty free
”Container” for sound compressed using the “ Vorbis
algorithm”
Vorbis sound data resides within an OGG container – OGG
Vorbis
 MP$ format is based on Apple’s Quick Time
Movies (.mov) “container” model
 It is similar to the MOV format that stores
different types of media
 MP4 extension is used when file streams audio & video together
 M4a extension is used only when file contains only audio data
 M4p extension contains only audio, but encrypted for Digital
Rights Management(DRM)
 M4r files are used for ringtones on Apple’s iPhone
◦ Other GSM phones use 3gp file format for ring tones
 Advanced Audio Coding(AAC) format is adopted by
Apple’s iTunes store
 Default format for iPod, iPhone, PlayStation, Wii, Dsi,
Motorala, Nokia, Philips, Samsung, Siemens and Sony
Ericssion
 Codec is a software that compresses a stream of audio or
video for data storage or transmission and then
decompresses it for play back
 Some are “lossy” – trade quality for reduced file size
transmission speed
 Some are “lossless” – original data is not at all altered.
Using Audio In Multimedia
Application Audio
 Adding sound to Multimedia project & the Following Step:
Determine the file formats that are compatible with MM authoring
S/W
Determine the sound playback capabilities that the end user’s system
offers
Decide the type of sound needed
Decide where and when you want to use the digital audio or MIDI
data
Acquire source material by creating it from scratch or buying it
Edit the sounds to fit your project
Test the sounds to be sure they are timed properly with the project’s
images.(This may involve steps 1-4 until everything is in sync)
Space Considerations
 Large amount of digital information is required for high
quality sound, which in turn requires large amount of
space.
 If monaural sound is adequate then one can cut the
storage space by half or get double the playing time in
the same memory space.
 With compression codec's we can reduce the size to 1/8th
the space but there is loss of quality & we can also
downsample.
Formula
◦ Sampling rate* bits per sample/8=bytes/sec
◦ Sample rate* sample size/8 *#sec*2 (if stereo)= file size in KB
Audio Recording
 If we require CD quality recording, then digitize sound at 44.1KHz
and 16 bit to store, at a sound studio.
 If we decide to do it our self then we need to invest in:
◦ Acoustically treated room
◦ High end amplifiers
◦ Recording equipments
◦ Powerful microphones
Digital Audio Tape(DAT)systems provide a tape based 44.1KHz
and 16 bit record an record playback capability
DAT recordings are too accurate, precisely recording glitches,
background noises, microphone pops, including coughs in the
next room.
Audio Recording
 A good editor can reduce the impact of
these noises but at the cost of time & money
 Mobile phones can record audio. USB, Flash memory
recorders can be used to record and the recordings can be
downloaded directly as digital files using USB cables or Card
readers
 Audio CD’s – the method for digitally encoding the high
quality stereo of the consumer CD market is an international
standard, ISO 10149.
 Also known as “Red Book Audio” Standard
 Converter & burning s/w’s such as Toast & CD creator from
Roxio can translate digital files of RBA found on CD directly
to digital sound file formats like MP3 & WAV.
Sound For Mobile
 Ringtones are normally associated with
phones
 Telephone system – Pulsating at 90 volt – signal is
sent to copper wire to energize the hammer like
klangs a bell
 But in the present systems, the mobile’s s/w takes the
charge when come one calls, depending on the
programmed options, plays the users choice of
ringtone
 Ringtones play on very small speakers & often
compete in a noisy environment
 The other tones include answer tones, sing tones,
true tones, real tones, video tones & ringels
Digital Audio in Multimedia

More Related Content

What's hot

The MIDI Protocol - Musical Instrument Digital Interface
The MIDI Protocol - Musical Instrument Digital InterfaceThe MIDI Protocol - Musical Instrument Digital Interface
The MIDI Protocol - Musical Instrument Digital InterfaceBhaumik Bhatt
 
Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formatsIshank Ranjan
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEOazira96
 
Multimedia system, Architecture & Databases
Multimedia system, Architecture & DatabasesMultimedia system, Architecture & Databases
Multimedia system, Architecture & DatabasesHarshita Ved
 
Multimedia data and file format
Multimedia data and file formatMultimedia data and file format
Multimedia data and file formatNiketa Jain
 
Chapter 10 designing and producing Multimedia
Chapter 10 designing and producing MultimediaChapter 10 designing and producing Multimedia
Chapter 10 designing and producing MultimediaShehryar Ahmad
 
Attributes of output primitive(line attributes)
Attributes of output primitive(line attributes)Attributes of output primitive(line attributes)
Attributes of output primitive(line attributes)shalinikarunakaran1
 
Chapter 3 - Multimedia System Design
Chapter 3 - Multimedia System DesignChapter 3 - Multimedia System Design
Chapter 3 - Multimedia System DesignPratik Pradhan
 
Multimedia color in image and video
Multimedia color in image and videoMultimedia color in image and video
Multimedia color in image and videoMazin Alwaaly
 
Video signal-ppt
Video signal-pptVideo signal-ppt
Video signal-pptDeepa K C
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGEazira96
 
Multimedia fundamental concepts in video
Multimedia fundamental concepts in videoMultimedia fundamental concepts in video
Multimedia fundamental concepts in videoMazin Alwaaly
 

What's hot (20)

The MIDI Protocol - Musical Instrument Digital Interface
The MIDI Protocol - Musical Instrument Digital InterfaceThe MIDI Protocol - Musical Instrument Digital Interface
The MIDI Protocol - Musical Instrument Digital Interface
 
Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formats
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
 
Multimedia chapter 4
Multimedia chapter 4Multimedia chapter 4
Multimedia chapter 4
 
Video
VideoVideo
Video
 
Multimedia system, Architecture & Databases
Multimedia system, Architecture & DatabasesMultimedia system, Architecture & Databases
Multimedia system, Architecture & Databases
 
Multimedia data and file format
Multimedia data and file formatMultimedia data and file format
Multimedia data and file format
 
Chapter 10 designing and producing Multimedia
Chapter 10 designing and producing MultimediaChapter 10 designing and producing Multimedia
Chapter 10 designing and producing Multimedia
 
Video display devices
Video display devicesVideo display devices
Video display devices
 
multimedia image.ppt
multimedia image.pptmultimedia image.ppt
multimedia image.ppt
 
Attributes of output primitive(line attributes)
Attributes of output primitive(line attributes)Attributes of output primitive(line attributes)
Attributes of output primitive(line attributes)
 
Chapter 3 - Multimedia System Design
Chapter 3 - Multimedia System DesignChapter 3 - Multimedia System Design
Chapter 3 - Multimedia System Design
 
Multimedia color in image and video
Multimedia color in image and videoMultimedia color in image and video
Multimedia color in image and video
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Video signal-ppt
Video signal-pptVideo signal-ppt
Video signal-ppt
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGE
 
Multimedia fundamental concepts in video
Multimedia fundamental concepts in videoMultimedia fundamental concepts in video
Multimedia fundamental concepts in video
 
Audio file format
Audio file formatAudio file format
Audio file format
 
Text compression
Text compressionText compression
Text compression
 
Image & Graphics
Image & GraphicsImage & Graphics
Image & Graphics
 

Similar to Digital Audio in Multimedia

abra ka dabra.pdf
abra ka dabra.pdfabra ka dabra.pdf
abra ka dabra.pdfdiljots78
 
3 multimedia elements - audio
3   multimedia elements - audio3   multimedia elements - audio
3 multimedia elements - audioKelly Bauer
 
Audio format
Audio formatAudio format
Audio formatavid
 
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 shakirUniversity of Education
 
Digital audio formats
Digital audio formatsDigital audio formats
Digital audio formatsamels_john
 
Scct2013 topic 4_audio
Scct2013 topic 4_audioScct2013 topic 4_audio
Scct2013 topic 4_audioAnies Syahieda
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheeteduriez
 
Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)Mrrrjones
 
Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)Mrrrjones
 

Similar to Digital Audio in Multimedia (20)

Sound.pptx
Sound.pptxSound.pptx
Sound.pptx
 
abra ka dabra.pdf
abra ka dabra.pdfabra ka dabra.pdf
abra ka dabra.pdf
 
Ch05
Ch05Ch05
Ch05
 
MultiMedia-Lecture-4.pptx
MultiMedia-Lecture-4.pptxMultiMedia-Lecture-4.pptx
MultiMedia-Lecture-4.pptx
 
3 multimedia elements - audio
3   multimedia elements - audio3   multimedia elements - audio
3 multimedia elements - audio
 
Audio-1
Audio-1Audio-1
Audio-1
 
Audio
AudioAudio
Audio
 
audio digital.pdf
audio digital.pdfaudio digital.pdf
audio digital.pdf
 
CHAPTER – 5 Audio
CHAPTER – 5     AudioCHAPTER – 5     Audio
CHAPTER – 5 Audio
 
Digital audio
Digital audioDigital audio
Digital audio
 
1.1.3 DATA STORAGE
1.1.3 DATA STORAGE1.1.3 DATA STORAGE
1.1.3 DATA STORAGE
 
Audio format
Audio formatAudio format
Audio format
 
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
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Mm Unit 3
Mm Unit 3Mm Unit 3
Mm Unit 3
 
Digital audio formats
Digital audio formatsDigital audio formats
Digital audio formats
 
Scct2013 topic 4_audio
Scct2013 topic 4_audioScct2013 topic 4_audio
Scct2013 topic 4_audio
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
 
Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)
 
Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)
 

More from lalithambiga kamaraj (20)

Firewall in Network Security
Firewall in Network SecurityFirewall in Network Security
Firewall in Network Security
 
Data Compression in Multimedia
Data Compression in MultimediaData Compression in Multimedia
Data Compression in Multimedia
 
Data CompressionMultimedia
Data CompressionMultimediaData CompressionMultimedia
Data CompressionMultimedia
 
Network Security: Physical security
Network Security: Physical security Network Security: Physical security
Network Security: Physical security
 
Graphs in Data Structure
Graphs in Data StructureGraphs in Data Structure
Graphs in Data Structure
 
Package in Java
Package in JavaPackage in Java
Package in Java
 
Exception Handling in Java
Exception Handling in JavaException Handling in Java
Exception Handling in Java
 
Data structure
Data structureData structure
Data structure
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costs
 
Datamining
DataminingDatamining
Datamining
 
Digital Components
Digital ComponentsDigital Components
Digital Components
 
Deadlocks in operating system
Deadlocks in operating systemDeadlocks in operating system
Deadlocks in operating system
 
Io management disk scheduling algorithm
Io management disk scheduling algorithmIo management disk scheduling algorithm
Io management disk scheduling algorithm
 
Recovery system
Recovery systemRecovery system
Recovery system
 
File management
File managementFile management
File management
 
Preprocessor
PreprocessorPreprocessor
Preprocessor
 
Inheritance
InheritanceInheritance
Inheritance
 
Managing console of I/o operations & working with files
Managing console of I/o operations & working with filesManaging console of I/o operations & working with files
Managing console of I/o operations & working with files
 

Recently uploaded

What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
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
 
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
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
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.
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
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
 
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
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 

Recently uploaded (20)

What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
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
 
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
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
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
 
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🔝
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
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...
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
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
 
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)
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 

Digital Audio in Multimedia

  • 1. Digital Audio BY K.LALITHAMBIGA, II –Msc (CS&IT ), Department of CS&IT, NS College of Arts and Science, Theni.
  • 2. Synopsis Introduction Characteristics of sound and digital audio Digital Audio System MIDI Audio File Formats Using Audio in Multimedia Applications Audio
  • 3. Digital Audio SOUND ◦ Sound is simply waves of compressed air that move out from its source, similar to dropping a stone in water. ◦ Your ears are sensitive to these compressed waves. As the sound waves interact with your ear drum, the signal is sent to your brain, converting them to the sounds that you recognize.  Two types of Sounds  Analog sound(recorded &reproduce the signals)  Digital sound(stored as numerical data & easily reproduced & manipulated)
  • 4. Characteristics of Sound & Digital Audio  Sound is based on two things: Energy & Transport medium.  Energy from a banging drum is converted into pressure that is transmitted by the air.  There are two characteristic of sound waves ◦ Amplitude ◦ Amplitude is the power or intensity of the sound. ◦ The louder the sound, the larger the amplitude. ◦ Frequency ◦ Frequency is the rate at which sound is measured. ◦ It is measured in cycles per second or Hertz(Hz).
  • 5. Voice and Music  The Three classes of sounds:  Voices,  Music and  Sound effects.  Voice is defined as talking, not singing by human. It is does not have a pitch and tone.  Music can have rapid changes in tone and pitch. It is usually recorded and played in stereo.  Sound effects can be voice or music. It is vary in tone, pitch and time.
  • 6. Digitizing Sound  Digitizing Sound means capturing the sound amplitude at a specific frequency.  The three characteristics for recording sound:  Frequency rate  Amplitude measurement  Sound channels (Monaural or stereo)  For multimedia computers, standard frequency rates includes  11.025 Kilohertz(KHz)  22.5 KHz  44.1 KHz ◦ Amplitude measurement is based on 8 bits(1byte) for 256 levels and 16 bits for 65,536 levels
  • 7. Calculating Audio Data Size  There are three characteristic is used to calculating audio file sizes, amplitude, sound channels and frequency rates  c=number of channels(mono-1channel, stereo- 2channel)  s=sampling rate in Hertz(cycle per second)  t=a time(second)  b=bytes(1for 8 bits, 2 for 16 bits) File size=c*s*t*b
  • 8. Digital Audio System  Digital audios created when the characteristic of sound wave is represent using number – a process referred to as Digitizing.  We can digitize any sound(Microphone, Synthesizer…)  Digitized sound is sampled sound  Every nth fraction of a second, a sample of a sound is taken & stored as digital information in bits and bytes.  The quality of digital recording depends on the how often the samples are taken i.e. Higher the sampling rate better is the quality of sound.
  • 9.  sampling rates are normally used in multimedia 44.1KHz(CD- Quality),22.05 KHz and 11.025KHz  Larger the sample size, more accurate data will describe the recorded sound  The value of each sample is rounded off to the nearest integer called Quantization. Digital Audio software support Playback Record Stop Fast forward Reverse Rewind
  • 10. Editing Digital Audio Trimming the clip & Splicing and Assembly
  • 11. Volume adjustment & Format Conversion
  • 12. Resampling or down sampling & Fade-ins & fade-out
  • 14. Digital Signal Processing & Reversing sounds
  • 15. Sound Controls  Multimedia computes usually have software that acts as a control for the computer’s sound playback and recording. This software includes: ◦ Selection of components(Microphones, Speakers, Line-in, Line-out) ◦ Volume level, both monaural and stereo ◦ Recording input level ◦ Bass and treble controls These controls are usually accessible for a user from the operating system of the computers as well as from within multimedia products themselves
  • 16. MIDI(Musical Instrument Digital Interface)  It is a communications standard developed in the 1980’s for electronic instruments and computers  It allows instruments from different manufactures to communicate  But MIDI data is not digitized, its only music data stored in numeric form.  Digital Audio is recorded where as MIDI is a score  Device Independent  This file is a list of time stamped commands that are recordings of musical actions
  • 17.  Using MIDI, we can easily and quickly compose our own original score  The process of creating MIDI is quite different from digitizing a recorded audio  Digitized Audio – Bitmap Image the MIDI –Vector graphics  For digitized audio we simple need to play the recording through a computer device that can digitally record the sound ◦ To make MIDI, we need  Notation software  Sequencer software  Synthesizer  MIDI Keyboard
  • 18. MIDI vs. Digital Audio Advantages MIDI files are more compact that audio files MIDI is small, can be easily embedded into the web pages MIDI sound source is high quality, this sounds better than audio files MIDI data is completely editable MIDI data can be easily converted to musical notations and vise versa.
  • 19. Audio File Format  A sound files format is a recognized methodology for compressing data bits of digitized sound into a data file  The structure of the file must be known even before the data can be saved or later loaded into a computer to be edited or played as sound  The file name extension identifies the method of storage used  On the Macintosh, digitized sounds may be stored as data files, resources, or applications such as AIFF or AIFC  In Windows, digitized sounds are usually stored as WAV files  Both can use MIDI files(.mid)
  • 20. Audio File Format  The method used for consumer grade music CD’s is Linear Pulse Code modulation(LPCM shortened to PCM)  CD-ROM/XA (Extended Architecture) format for reading and writing CD’s was developed later so one can put several recording sessions of music to be placed on a single CD-R  LPCM tracks from an Audio CD are usually converted and stored on a computer in uncompressed AIFF or WAV format ◦ AIFF-Audio Interchange File Format Both contain ◦ WAV-Wave Format Uncompressed data
  • 21. Audio File Format  There are huge no of file formats & “Multimedia Containers” that store sound data  There are converter to read & write sound files from one format to another  MP3 was developed by MPEG (Moving Picture Expert Group)  Common method for storing consumer audio  Contains lossy compression algorithm to save space  Evolved in early 1990’s WMA(Windows Media Audio) is a proprietary format OGG was developed as an open-source and royalty free ”Container” for sound compressed using the “ Vorbis algorithm” Vorbis sound data resides within an OGG container – OGG Vorbis
  • 22.  MP$ format is based on Apple’s Quick Time Movies (.mov) “container” model  It is similar to the MOV format that stores different types of media  MP4 extension is used when file streams audio & video together  M4a extension is used only when file contains only audio data  M4p extension contains only audio, but encrypted for Digital Rights Management(DRM)  M4r files are used for ringtones on Apple’s iPhone ◦ Other GSM phones use 3gp file format for ring tones
  • 23.  Advanced Audio Coding(AAC) format is adopted by Apple’s iTunes store  Default format for iPod, iPhone, PlayStation, Wii, Dsi, Motorala, Nokia, Philips, Samsung, Siemens and Sony Ericssion  Codec is a software that compresses a stream of audio or video for data storage or transmission and then decompresses it for play back  Some are “lossy” – trade quality for reduced file size transmission speed  Some are “lossless” – original data is not at all altered.
  • 24. Using Audio In Multimedia Application Audio  Adding sound to Multimedia project & the Following Step: Determine the file formats that are compatible with MM authoring S/W Determine the sound playback capabilities that the end user’s system offers Decide the type of sound needed Decide where and when you want to use the digital audio or MIDI data Acquire source material by creating it from scratch or buying it Edit the sounds to fit your project Test the sounds to be sure they are timed properly with the project’s images.(This may involve steps 1-4 until everything is in sync)
  • 25. Space Considerations  Large amount of digital information is required for high quality sound, which in turn requires large amount of space.  If monaural sound is adequate then one can cut the storage space by half or get double the playing time in the same memory space.  With compression codec's we can reduce the size to 1/8th the space but there is loss of quality & we can also downsample. Formula ◦ Sampling rate* bits per sample/8=bytes/sec ◦ Sample rate* sample size/8 *#sec*2 (if stereo)= file size in KB
  • 26. Audio Recording  If we require CD quality recording, then digitize sound at 44.1KHz and 16 bit to store, at a sound studio.  If we decide to do it our self then we need to invest in: ◦ Acoustically treated room ◦ High end amplifiers ◦ Recording equipments ◦ Powerful microphones Digital Audio Tape(DAT)systems provide a tape based 44.1KHz and 16 bit record an record playback capability DAT recordings are too accurate, precisely recording glitches, background noises, microphone pops, including coughs in the next room.
  • 27. Audio Recording  A good editor can reduce the impact of these noises but at the cost of time & money  Mobile phones can record audio. USB, Flash memory recorders can be used to record and the recordings can be downloaded directly as digital files using USB cables or Card readers  Audio CD’s – the method for digitally encoding the high quality stereo of the consumer CD market is an international standard, ISO 10149.  Also known as “Red Book Audio” Standard  Converter & burning s/w’s such as Toast & CD creator from Roxio can translate digital files of RBA found on CD directly to digital sound file formats like MP3 & WAV.
  • 28. Sound For Mobile  Ringtones are normally associated with phones  Telephone system – Pulsating at 90 volt – signal is sent to copper wire to energize the hammer like klangs a bell  But in the present systems, the mobile’s s/w takes the charge when come one calls, depending on the programmed options, plays the users choice of ringtone  Ringtones play on very small speakers & often compete in a noisy environment  The other tones include answer tones, sing tones, true tones, real tones, video tones & ringels