SlideShare a Scribd company logo
1 of 49
Multimedia System and Design
(Audio)
By:
Aized Amin
Audio vs Sound
• Audio is a technical term, referring to sound
coming from a recording, transmission or
electronic device.
• Sound is a generic word and can be caused by
any source.
2Badar Waseer arbabwaseer@gmail.com
What is SOUND?
• Sound comprises the spoken word, voices, music and
even noise.
• It is a complex relationship involving:
– a vibrating object (sound source)
– a transmission medium (usually air)
– a receiver (ear) and;
– a preceptor (brain).
3Badar Waseer arbabwaseer@gmail.com
The Power of Sound
• Sound is measured in  dB (decibel)
• Sound waves are known as waveforms.
Something vibrates
in the air
Waves of pressure Ear drums will translate
these changes in wave
Forms as sound
4Badar Waseer arbabwaseer@gmail.com
Waveforms
Sound waves are known as waveforms
 A waveform that repeats itself at regular
intervals is called a periodic waveform
 Waveforms that do not exhibit regularity are
called noise
5Badar Waseer arbabwaseer@gmail.com
Sound
 A pleasant sound has a regular wave pattern.
The pattern is repeated over and over.
 But the waves of noise are irregular. They do
not have a repeated pattern.
6Badar Waseer arbabwaseer@gmail.com
Characteristic of Sound Waves
• Sound is described in terms of two characteristics:
– Frequency (or pitch)
– Amplitude (or loudness)
7Badar Waseer arbabwaseer@gmail.com
Frequency
• Frequency is a measure of how many vibrations occur
in one second. This is measured in Hertz (abbreviation
Hz) and directly corresponds to the pitch of a sound.
– The more frequent vibration occurs the higher the pitch of
the sound.
 Optimally, people can hear from 20 Hz to 20,000 Hz (20 kHz)
 Sounds below 20 Hz are infrasonic
 Sounds above 20 kHz are ultrasonic
Low pitch High pitch
8Badar Waseer arbabwaseer@gmail.com
Amplitude
• Amplitude is the maximum displacement of a wave from an
equilibrium position.
– The louder a sound, the more energy it has. This means loud sounds have a
large amplitude.
 The amplitude relates to how loud a sound is.
Low amplitude High Amplitude
Quiet Loud
9Badar Waseer arbabwaseer@gmail.com
Amplitude
 Sound’s intensity or loudness
 The louder sound, the larger amplitude.
10Badar Waseer arbabwaseer@gmail.com
The characteristics of sound
waves
distance
along wave
Cycle
Time for one cycleAmplitude
pitch
11Badar Waseer arbabwaseer@gmail.com
Analogue audio
• The name for an electronic signal that carries its
information of sound as continuous fluctuating voltage
value.
• Analog refers to audio recorded using methods that
replicate the original sound waves.
Digitizing
• The process of converting an analog signal to a digital one.
• A sound is recorded by making a measurement of the
amplitude of the sound at regular intervals which are
defined by the "sample rate".
• The act of taking the measurement is often called
"sampling" and each measurement is called a "sample
point".
Analogue to Digital Audio
12Badar Waseer arbabwaseer@gmail.com
Capture and playback
of digital audio
Air pressure
variations
Captured via
microphone
Air pressure
variations
ADC
Signal is
converted into
binary
(discrete form)
0101001101
0110101111
Analogue
to Digital
Converter
DAC
Converts
back into
voltage
Digital to
Analogue
Converter
13Badar Waseer arbabwaseer@gmail.com
The Power of Sound
• Audio in Macintosh and Windows
– Both Macintosh and Windows PC platform, have
the default system sounds
– MACINTOSH  Chu Toy, Glass, indigo, Laugh,
Simple Beep
– WINDOWS PC  ding.wav, chimes.wav,
logoff.wav, start.wav
• Basic Recording Software
– Both MACINTOSH and WINDOWS have basic recording
software
14Badar Waseer arbabwaseer@gmail.com
Digital Audio
• Digital audio data is the representation of sound,
stored in the form of samples point.
• Quality of digital recording depends on the sampling
rate, that is, the number of samples point taken per
second (Hz).
High Sampling Rate
Low Sampling Rate
Samples stored in digital
form
waveform
15Badar Waseer arbabwaseer@gmail.com
Digital Audio
• The three sampling frequencies most often used in
multimedia are 44.1 kHz, 22.05 kHz and 11.025 kHz.
– The higher sampling rate, more measurements are taken
better quality.
– The lower sampling rate, lesser the measurements are
taken low quality.
Low Sampling RateHigh Sampling Rate
16Badar Waseer arbabwaseer@gmail.com
• Quality factors for digital audio file :
1. Sampling Rate
2. Sample Size (resolution)
• The number of bits used to record the
value of a sample in a digitized signal.
17Badar Waseer arbabwaseer@gmail.com
 Sampling Rate
 Frequency of sampling
 Measure in Hertz
 The higher sampling rate, higher quality sound but
size of storage is big.
 Standard Sampling rate:
- 44.1 KHz for CD Audio
- 22.05 KHz
- 11.025 KHz for spoken
- 5.1025 KHz for audio effect
18Badar Waseer arbabwaseer@gmail.com
 Size Sample
The resolution of a sample is the number of
bits it uses to store a given amplitude value,
e.g.
 8 bits (256 different values)
 16 bits (65536 different values)
 A higher resolution will give higher quality but will
require more memory (or disk storage)
19Badar Waseer arbabwaseer@gmail.com
Digital Audio
• Other than that, it also depends on:
– The quality of original audio source.
– The quality of capture device & supporting hardware.
– The characteristics used for capture.
– The capability of the playback environment.
20Badar Waseer arbabwaseer@gmail.com
Digital Audio
• More advanced Digital audio editing software:
– One of the most powerful and professional PC-based
packages is a tool called Sound Forge
http://www.sonicfoundry.com/
 Others audio editing software:
 COOL Edit Pro
 Gold Wave
 PROSONIQ SonicWORX
 Samplitude Studio 21Badar Waseer arbabwaseer@gmail.com
Midi Audio
• Musical Instrument Digital Interface
– Before there was a wide use of mp3 and high
bandwidth network, MIDI format audio is popular
when an audio is required to be put on a website.
– Provides a standardized and efficient means of
conveying musical performance information as
electronic data.
– Is a easiest and quickest way to compose our own
score.
• (provided we have knowledge of musical instrument
and composing)
– It is in the form of music score and not samples or
recording.
22Badar Waseer arbabwaseer@gmail.com
• MIDI files are very compact and very good for
low-bandwidth delivery.
• Instruments are “piano, drums, bass,
orchestral strings, …”
• It is very attractive for adding MIDI file to your
website with very little download time.
23Badar Waseer arbabwaseer@gmail.com
Midi Audio Facts
• Since they are small, MIDI files embedded in web
pages load and play.
• Length of a MIDI file can be changed without
affecting the pitch of the music or degrading audio
quality.
• Working with MIDI requires knowledge of music
theory.
24Badar Waseer arbabwaseer@gmail.com
Recording MIDI Files
Recording MIDI Files
• MIDI files can be generated:
– By recording the MIDI data from a MIDI
instrument (electronic keyboard) as it is played.
– By using a MIDI sequencer software application.
25Badar Waseer arbabwaseer@gmail.com
Audio File Formats
• MIDI
– *.MID, *.KAR, *.MIDI, *.SMF
• AUDIO DIGITAL
– WINDOWS  *.WAV
– MACINTOSH  *.AIFF
– UNIX  *.AU
– REALAUDIO  *.RA
– MPEG3  *.MP3
26Badar Waseer arbabwaseer@gmail.com
MIDI versus Digital Audio
• Advantages of MIDI over digital audio:
– MIDI files smaller that digital audio files.
– Because small file, MIDI files embedded in web
pages load and play more quickly.
– If MIDI sound source are high quality – sound
better.
– Can change the length of MIDI files without
changing the pitch of the music or degrading the
audio quality.
27Badar Waseer arbabwaseer@gmail.com
MIDI versus Digital Audio
• Disadvantages of MIDI over digital audio:
– Because MIDI data does not represent the sound
but musical instruments, playback will be accurate
only if the MIDI playback (instrument) is identical
to the device used in the production.
– Higher cost and requires skill to edit.
– Cannot emulate voice, other effects.
28Badar Waseer arbabwaseer@gmail.com
Factors considered before adding Sound
to MM Project
1. File formats compatible with multimedia authoring
software being used along with delivery mediums, must
be determined.
2. Sound playback capabilities offered by end user’s system
must be studied.
3. The type of sound, whether background music, special
sound effects, or spoken dialog, must be decided.
4. Digital audio or MIDI data should be selected on the
basis of the location and time of use.
29Badar Waseer arbabwaseer@gmail.com
Advantages & Disadvantages of Using
Audio
• Advantages
– Ensure important information is noticed.
– Add interest.
– Can communicate more directly than other media.
– Sound adds life to any multimedia application and
plays important role in effective marketing
presentations.
30Badar Waseer arbabwaseer@gmail.com
Advantages & Disadvantages of Using
Audio
• Disadvantages
– Easily overused.
– Requires special equipment for quality production.
– Not as memorable as visual media.
31Badar Waseer arbabwaseer@gmail.com
MP3 Format
MP3 is a standard format for music files sent
over the Internet.
MP3s:
– Use one of three MPEG standards for audio
compression
– Can compress an audio file to about one-twelfth
of the space it occupies on a CD with no
significant loss of sound quality
32Badar Waseer arbabwaseer@gmail.com
WAV Format
WAV is a standard for sound files on Windows
and Macintosh PCs.
WAVs:
– Do not compress audio as much as MP3s
– Are generally used for sound effects and other
small files
33Badar Waseer arbabwaseer@gmail.com
Sound Quality & File Sizes
• Stereophonic (stereo) sound refers to any method of
sound reproduction in which an attempt is made to
create an illusion of directionality and audible
perspective.
– This is usually achieved by using two or more
independent audio channels through a
configuration of two or more loudspeakers in such
a way as to create the impression of sound heard
from various directions, as in natural hearing.
– Thus the term "stereophonic" applies to so-called
"quadraphonic" and "surround-sound" systems as
well as the more common 2-channel, 2-speaker
systems.
34Badar Waseer arbabwaseer@gmail.com
Sound Quality & File Sizes
• It is often contrasted with monophonic, or
"mono" sound, where audio is in the form of
one channel
– often centered in the sound field (analogous to a
visual field).
• Stereo sound is now common in
entertainment systems such as broadcast
radio and TV, recorded music and the cinema.
35Badar Waseer arbabwaseer@gmail.com
36Badar Waseer arbabwaseer@gmail.com
37Badar Waseer arbabwaseer@gmail.com
Digital Audio File size
The formulas for determining the size (in bytes) of a
digital recording.
For a monophonic recording:
 sampling rate*duration of recording in seconds*(bit resolution / 8)*1
For a stereo recording:
 sampling rate*duration of recording in seconds*(bit resolution / 8)*2
38Badar Waseer arbabwaseer@gmail.com
Digital Audio File size
• Resolution is measured in bits per sample.
Since there are 8 bits in a byte, you have to
divide the bit resolution by 8.)
• Q: What will be file size for a 10-second mono
recording at 22.05 kHz, 8-bit resolution?
22050 * 10 * 8 / 8 * 1
= 220,500 bytes
39Badar Waseer arbabwaseer@gmail.com
• What will be file size of 10-second stereo
recording at 44.1 kHz,16-bit resolution ?
44100 * 10 * 16 / 8 * 2
= 1,764,000 bytes.
40Badar Waseer arbabwaseer@gmail.com
Compressed File Formats
• There are both compressed and
uncompressed audio file formats
• Compression can be either
– Lossless = The quality of uncompressed audio
equals the quality of original audio file
– Lossy = The quality of uncompressed audio is
lower than the original (e.g. mp3, wma)
• For compression/uncompression matching
algorighm pairs (codecs) are used
41Badar Waseer arbabwaseer@gmail.com
Codecs
• A device or program that compresses data to
enable faster transmission and decompresses
received data.
• An audio codec is a device or computer program
capable of coding or decoding a digital data
stream of audio.
• There must be one algorithm for compressing
and one for de-compressing (e.g. before
playback)
• Many codecs have to be installed as plugins for
player/editing applications
• There are many dedicated sites for downloading
codecs
42Badar Waseer arbabwaseer@gmail.com
Wave/WAV
• The uncompressed audio format developed by
Microsoft
• Wav files can be either mono or stereo files
and of different sample rates and resolutions
• Many platforms support wav files
43Badar Waseer arbabwaseer@gmail.com
UNIX/NeXT audio (.au)
• ”Original” format of networked audio
• Many early versions of browsers and
programming languages (e.g. Java) support
au-files
• Au was originally developed by Sun
44Badar Waseer arbabwaseer@gmail.com
AIFF
• Audio Interchange File Format
• Originally the sound format of Amiga & Apple
computers
• AIFF file consists of so-called chunks in which
the qualities of audio + the actual audio data
are stored
45Badar Waseer arbabwaseer@gmail.com
MPEG (mp3)
• Nowadays very popular compressed audio
format
• Mp3 is one of the subcategories of MPEG
standard
• Mpeg 1 Layer 3 (mp3) was originally targeted
for transmitting speech over networks
• Several settings can be adjusted when
packaging audio into mp3 format
46Badar Waseer arbabwaseer@gmail.com
RealAudio
• .ra/.rm files
• The first audio format to use streaming
technology
• The sound file can be listened while it is been
streamed into the harddrive (The complete
file doesn’t need to be loaded)
• Many internet radio stations use ReadAudio as
the broadcasting format
47Badar Waseer arbabwaseer@gmail.com
Other Audio Formats
• Besides the aforementioned there are may
audio formats for different uses:
– WMA
– Ogg
– Monkey’s Audio (.ape)
– FLAC
• In addition the audio editors produce files
which include project information + actual
audio data
48Badar Waseer arbabwaseer@gmail.com
Summary
• There are two main types of digital audio
– Sampled audio
• Captured by sampling an analogue waveform at
a set rate
– MIDI data
• Instructions on how to perform some musical
composition
• Sampled audio requires more storage space than
MIDI information
49Badar Waseer arbabwaseer@gmail.com

More Related Content

What's hot

Audio compression
Audio compressionAudio compression
Audio compression
Sahil Garg
 
video compression techique
video compression techiquevideo compression techique
video compression techique
Ashish Kumar
 
Chapter 2 : TEXT
Chapter 2 : TEXTChapter 2 : TEXT
Chapter 2 : TEXT
azira96
 

What's hot (20)

Multimedia Systems
Multimedia SystemsMultimedia Systems
Multimedia Systems
 
Multimedia chapter 2
Multimedia chapter 2Multimedia chapter 2
Multimedia chapter 2
 
multimedia technologies Introduction
multimedia technologies Introductionmultimedia technologies Introduction
multimedia technologies Introduction
 
Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formats
 
Hypermedia messageing (UNIT 5)
Hypermedia messageing (UNIT 5)Hypermedia messageing (UNIT 5)
Hypermedia messageing (UNIT 5)
 
multimedia making it work by Tay Vaughan Chapter1
multimedia making it work by Tay Vaughan Chapter1multimedia making it work by Tay Vaughan Chapter1
multimedia making it work by Tay Vaughan Chapter1
 
Audio file format
Audio file formatAudio file format
Audio file format
 
Multimedia System & Design Ch 5 video
Multimedia System & Design Ch 5 videoMultimedia System & Design Ch 5 video
Multimedia System & Design Ch 5 video
 
introduction to audio formats - Multimedia Students
introduction to audio formats - Multimedia Studentsintroduction to audio formats - Multimedia Students
introduction to audio formats - Multimedia Students
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Multimedia authoring tools
Multimedia authoring toolsMultimedia authoring tools
Multimedia authoring tools
 
Chapter 5 : ANIMATION
Chapter 5 : ANIMATIONChapter 5 : ANIMATION
Chapter 5 : ANIMATION
 
audio
audioaudio
audio
 
Audio format
Audio formatAudio format
Audio format
 
Multimedia Network
Multimedia NetworkMultimedia Network
Multimedia Network
 
Digital video
Digital videoDigital video
Digital video
 
Chapter 8 : MULTIMEDIA SKILLS
Chapter 8 : MULTIMEDIA SKILLSChapter 8 : MULTIMEDIA SKILLS
Chapter 8 : MULTIMEDIA SKILLS
 
Multimedia chapter 5
Multimedia chapter 5Multimedia chapter 5
Multimedia chapter 5
 
video compression techique
video compression techiquevideo compression techique
video compression techique
 
Chapter 2 : TEXT
Chapter 2 : TEXTChapter 2 : TEXT
Chapter 2 : TEXT
 

Similar to Multimedia System & Design Ch 4 Audio

Similar to Multimedia System & Design Ch 4 Audio (20)

audio digital.pdf
audio digital.pdfaudio digital.pdf
audio digital.pdf
 
Chapter Seven
Chapter SevenChapter Seven
Chapter Seven
 
Digital audio
Digital audioDigital audio
Digital audio
 
Chapter 7 Sound
Chapter 7 SoundChapter 7 Sound
Chapter 7 Sound
 
Sound.pptx
Sound.pptxSound.pptx
Sound.pptx
 
Sound
SoundSound
Sound
 
Audio-1
Audio-1Audio-1
Audio-1
 
Audio
AudioAudio
Audio
 
Scct2013 topic 4_audio
Scct2013 topic 4_audioScct2013 topic 4_audio
Scct2013 topic 4_audio
 
Tutorial for Wavepad
Tutorial for WavepadTutorial for Wavepad
Tutorial for Wavepad
 
CHAPTER – 5 Audio
CHAPTER – 5     AudioCHAPTER – 5     Audio
CHAPTER – 5 Audio
 
audio-production-1231352387673755-2.ppt
audio-production-1231352387673755-2.pptaudio-production-1231352387673755-2.ppt
audio-production-1231352387673755-2.ppt
 
04 audio
04 audio04 audio
04 audio
 
05 audio
05 audio05 audio
05 audio
 
Sound and interactive media
Sound and interactive mediaSound and interactive media
Sound and interactive media
 
Ch05
Ch05Ch05
Ch05
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
Digital audio formats
Digital audio formatsDigital audio formats
Digital audio formats
 
Unit 2 Lesson 07
Unit 2 Lesson 07Unit 2 Lesson 07
Unit 2 Lesson 07
 
Sound digitalisation
Sound digitalisationSound digitalisation
Sound digitalisation
 

More from Badar Waseer

More from Badar Waseer (19)

Ch 03 s.e agile development
Ch 03 s.e agile developmentCh 03 s.e agile development
Ch 03 s.e agile development
 
Ch 02 s.e software process models 1
Ch 02 s.e software process models   1Ch 02 s.e software process models   1
Ch 02 s.e software process models 1
 
Ch 01 s.e introduction
Ch 01 s.e introductionCh 01 s.e introduction
Ch 01 s.e introduction
 
Ch 14 s.e use case diagrams
Ch 14 s.e use case diagramsCh 14 s.e use case diagrams
Ch 14 s.e use case diagrams
 
Ch 13 s.e cmmi
Ch 13 s.e cmmiCh 13 s.e cmmi
Ch 13 s.e cmmi
 
Lec 1.9 oop
Lec 1.9 oopLec 1.9 oop
Lec 1.9 oop
 
Lec 1.8 Object Oriented Programming
Lec 1.8 Object Oriented ProgrammingLec 1.8 Object Oriented Programming
Lec 1.8 Object Oriented Programming
 
Lec 1.7 Object Oriented Programming
Lec 1.7 Object Oriented ProgrammingLec 1.7 Object Oriented Programming
Lec 1.7 Object Oriented Programming
 
Lec 1.6 Object Oriented Programming
Lec 1.6 Object Oriented ProgrammingLec 1.6 Object Oriented Programming
Lec 1.6 Object Oriented Programming
 
Lec 1.5 Object Oriented Programming
Lec 1.5 Object Oriented ProgrammingLec 1.5 Object Oriented Programming
Lec 1.5 Object Oriented Programming
 
Lec 1.4 Object Oriented Programming
Lec 1.4 Object Oriented ProgrammingLec 1.4 Object Oriented Programming
Lec 1.4 Object Oriented Programming
 
Lec 1.3 Object Oriented Programming
Lec 1.3 Object Oriented ProgrammingLec 1.3 Object Oriented Programming
Lec 1.3 Object Oriented Programming
 
Lec 1.1 Object Oriented Programming
Lec 1.1 Object Oriented ProgrammingLec 1.1 Object Oriented Programming
Lec 1.1 Object Oriented Programming
 
Lec 1.10 Object Oriented Programming
Lec 1.10 Object Oriented ProgrammingLec 1.10 Object Oriented Programming
Lec 1.10 Object Oriented Programming
 
Multimedia System & Design Ch 7 multimedia skills
Multimedia System & Design Ch 7 multimedia skillsMultimedia System & Design Ch 7 multimedia skills
Multimedia System & Design Ch 7 multimedia skills
 
Multimedia System & Design Ch 6 animation
Multimedia System & Design Ch 6 animationMultimedia System & Design Ch 6 animation
Multimedia System & Design Ch 6 animation
 
Multimedia System & Design Ch 8 delivering
Multimedia System & Design Ch 8 deliveringMultimedia System & Design Ch 8 delivering
Multimedia System & Design Ch 8 delivering
 
Agriculture Information System (AIS)
Agriculture Information System (AIS)Agriculture Information System (AIS)
Agriculture Information System (AIS)
 
Output Devices UoS Fsd
Output Devices UoS FsdOutput Devices UoS Fsd
Output Devices UoS Fsd
 

Recently uploaded

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
httgc7rh9c
 

Recently uploaded (20)

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

Multimedia System & Design Ch 4 Audio

  • 1. Multimedia System and Design (Audio) By: Aized Amin
  • 2. Audio vs Sound • Audio is a technical term, referring to sound coming from a recording, transmission or electronic device. • Sound is a generic word and can be caused by any source. 2Badar Waseer arbabwaseer@gmail.com
  • 3. What is SOUND? • Sound comprises the spoken word, voices, music and even noise. • It is a complex relationship involving: – a vibrating object (sound source) – a transmission medium (usually air) – a receiver (ear) and; – a preceptor (brain). 3Badar Waseer arbabwaseer@gmail.com
  • 4. The Power of Sound • Sound is measured in  dB (decibel) • Sound waves are known as waveforms. Something vibrates in the air Waves of pressure Ear drums will translate these changes in wave Forms as sound 4Badar Waseer arbabwaseer@gmail.com
  • 5. Waveforms Sound waves are known as waveforms  A waveform that repeats itself at regular intervals is called a periodic waveform  Waveforms that do not exhibit regularity are called noise 5Badar Waseer arbabwaseer@gmail.com
  • 6. Sound  A pleasant sound has a regular wave pattern. The pattern is repeated over and over.  But the waves of noise are irregular. They do not have a repeated pattern. 6Badar Waseer arbabwaseer@gmail.com
  • 7. Characteristic of Sound Waves • Sound is described in terms of two characteristics: – Frequency (or pitch) – Amplitude (or loudness) 7Badar Waseer arbabwaseer@gmail.com
  • 8. Frequency • Frequency is a measure of how many vibrations occur in one second. This is measured in Hertz (abbreviation Hz) and directly corresponds to the pitch of a sound. – The more frequent vibration occurs the higher the pitch of the sound.  Optimally, people can hear from 20 Hz to 20,000 Hz (20 kHz)  Sounds below 20 Hz are infrasonic  Sounds above 20 kHz are ultrasonic Low pitch High pitch 8Badar Waseer arbabwaseer@gmail.com
  • 9. Amplitude • Amplitude is the maximum displacement of a wave from an equilibrium position. – The louder a sound, the more energy it has. This means loud sounds have a large amplitude.  The amplitude relates to how loud a sound is. Low amplitude High Amplitude Quiet Loud 9Badar Waseer arbabwaseer@gmail.com
  • 10. Amplitude  Sound’s intensity or loudness  The louder sound, the larger amplitude. 10Badar Waseer arbabwaseer@gmail.com
  • 11. The characteristics of sound waves distance along wave Cycle Time for one cycleAmplitude pitch 11Badar Waseer arbabwaseer@gmail.com
  • 12. Analogue audio • The name for an electronic signal that carries its information of sound as continuous fluctuating voltage value. • Analog refers to audio recorded using methods that replicate the original sound waves. Digitizing • The process of converting an analog signal to a digital one. • A sound is recorded by making a measurement of the amplitude of the sound at regular intervals which are defined by the "sample rate". • The act of taking the measurement is often called "sampling" and each measurement is called a "sample point". Analogue to Digital Audio 12Badar Waseer arbabwaseer@gmail.com
  • 13. Capture and playback of digital audio Air pressure variations Captured via microphone Air pressure variations ADC Signal is converted into binary (discrete form) 0101001101 0110101111 Analogue to Digital Converter DAC Converts back into voltage Digital to Analogue Converter 13Badar Waseer arbabwaseer@gmail.com
  • 14. The Power of Sound • Audio in Macintosh and Windows – Both Macintosh and Windows PC platform, have the default system sounds – MACINTOSH  Chu Toy, Glass, indigo, Laugh, Simple Beep – WINDOWS PC  ding.wav, chimes.wav, logoff.wav, start.wav • Basic Recording Software – Both MACINTOSH and WINDOWS have basic recording software 14Badar Waseer arbabwaseer@gmail.com
  • 15. Digital Audio • Digital audio data is the representation of sound, stored in the form of samples point. • Quality of digital recording depends on the sampling rate, that is, the number of samples point taken per second (Hz). High Sampling Rate Low Sampling Rate Samples stored in digital form waveform 15Badar Waseer arbabwaseer@gmail.com
  • 16. Digital Audio • The three sampling frequencies most often used in multimedia are 44.1 kHz, 22.05 kHz and 11.025 kHz. – The higher sampling rate, more measurements are taken better quality. – The lower sampling rate, lesser the measurements are taken low quality. Low Sampling RateHigh Sampling Rate 16Badar Waseer arbabwaseer@gmail.com
  • 17. • Quality factors for digital audio file : 1. Sampling Rate 2. Sample Size (resolution) • The number of bits used to record the value of a sample in a digitized signal. 17Badar Waseer arbabwaseer@gmail.com
  • 18.  Sampling Rate  Frequency of sampling  Measure in Hertz  The higher sampling rate, higher quality sound but size of storage is big.  Standard Sampling rate: - 44.1 KHz for CD Audio - 22.05 KHz - 11.025 KHz for spoken - 5.1025 KHz for audio effect 18Badar Waseer arbabwaseer@gmail.com
  • 19.  Size Sample The resolution of a sample is the number of bits it uses to store a given amplitude value, e.g.  8 bits (256 different values)  16 bits (65536 different values)  A higher resolution will give higher quality but will require more memory (or disk storage) 19Badar Waseer arbabwaseer@gmail.com
  • 20. Digital Audio • Other than that, it also depends on: – The quality of original audio source. – The quality of capture device & supporting hardware. – The characteristics used for capture. – The capability of the playback environment. 20Badar Waseer arbabwaseer@gmail.com
  • 21. Digital Audio • More advanced Digital audio editing software: – One of the most powerful and professional PC-based packages is a tool called Sound Forge http://www.sonicfoundry.com/  Others audio editing software:  COOL Edit Pro  Gold Wave  PROSONIQ SonicWORX  Samplitude Studio 21Badar Waseer arbabwaseer@gmail.com
  • 22. Midi Audio • Musical Instrument Digital Interface – Before there was a wide use of mp3 and high bandwidth network, MIDI format audio is popular when an audio is required to be put on a website. – Provides a standardized and efficient means of conveying musical performance information as electronic data. – Is a easiest and quickest way to compose our own score. • (provided we have knowledge of musical instrument and composing) – It is in the form of music score and not samples or recording. 22Badar Waseer arbabwaseer@gmail.com
  • 23. • MIDI files are very compact and very good for low-bandwidth delivery. • Instruments are “piano, drums, bass, orchestral strings, …” • It is very attractive for adding MIDI file to your website with very little download time. 23Badar Waseer arbabwaseer@gmail.com
  • 24. Midi Audio Facts • Since they are small, MIDI files embedded in web pages load and play. • Length of a MIDI file can be changed without affecting the pitch of the music or degrading audio quality. • Working with MIDI requires knowledge of music theory. 24Badar Waseer arbabwaseer@gmail.com
  • 25. Recording MIDI Files Recording MIDI Files • MIDI files can be generated: – By recording the MIDI data from a MIDI instrument (electronic keyboard) as it is played. – By using a MIDI sequencer software application. 25Badar Waseer arbabwaseer@gmail.com
  • 26. Audio File Formats • MIDI – *.MID, *.KAR, *.MIDI, *.SMF • AUDIO DIGITAL – WINDOWS  *.WAV – MACINTOSH  *.AIFF – UNIX  *.AU – REALAUDIO  *.RA – MPEG3  *.MP3 26Badar Waseer arbabwaseer@gmail.com
  • 27. MIDI versus Digital Audio • Advantages of MIDI over digital audio: – MIDI files smaller that digital audio files. – Because small file, MIDI files embedded in web pages load and play more quickly. – If MIDI sound source are high quality – sound better. – Can change the length of MIDI files without changing the pitch of the music or degrading the audio quality. 27Badar Waseer arbabwaseer@gmail.com
  • 28. MIDI versus Digital Audio • Disadvantages of MIDI over digital audio: – Because MIDI data does not represent the sound but musical instruments, playback will be accurate only if the MIDI playback (instrument) is identical to the device used in the production. – Higher cost and requires skill to edit. – Cannot emulate voice, other effects. 28Badar Waseer arbabwaseer@gmail.com
  • 29. Factors considered before adding Sound to MM Project 1. File formats compatible with multimedia authoring software being used along with delivery mediums, must be determined. 2. Sound playback capabilities offered by end user’s system must be studied. 3. The type of sound, whether background music, special sound effects, or spoken dialog, must be decided. 4. Digital audio or MIDI data should be selected on the basis of the location and time of use. 29Badar Waseer arbabwaseer@gmail.com
  • 30. Advantages & Disadvantages of Using Audio • Advantages – Ensure important information is noticed. – Add interest. – Can communicate more directly than other media. – Sound adds life to any multimedia application and plays important role in effective marketing presentations. 30Badar Waseer arbabwaseer@gmail.com
  • 31. Advantages & Disadvantages of Using Audio • Disadvantages – Easily overused. – Requires special equipment for quality production. – Not as memorable as visual media. 31Badar Waseer arbabwaseer@gmail.com
  • 32. MP3 Format MP3 is a standard format for music files sent over the Internet. MP3s: – Use one of three MPEG standards for audio compression – Can compress an audio file to about one-twelfth of the space it occupies on a CD with no significant loss of sound quality 32Badar Waseer arbabwaseer@gmail.com
  • 33. WAV Format WAV is a standard for sound files on Windows and Macintosh PCs. WAVs: – Do not compress audio as much as MP3s – Are generally used for sound effects and other small files 33Badar Waseer arbabwaseer@gmail.com
  • 34. Sound Quality & File Sizes • Stereophonic (stereo) sound refers to any method of sound reproduction in which an attempt is made to create an illusion of directionality and audible perspective. – This is usually achieved by using two or more independent audio channels through a configuration of two or more loudspeakers in such a way as to create the impression of sound heard from various directions, as in natural hearing. – Thus the term "stereophonic" applies to so-called "quadraphonic" and "surround-sound" systems as well as the more common 2-channel, 2-speaker systems. 34Badar Waseer arbabwaseer@gmail.com
  • 35. Sound Quality & File Sizes • It is often contrasted with monophonic, or "mono" sound, where audio is in the form of one channel – often centered in the sound field (analogous to a visual field). • Stereo sound is now common in entertainment systems such as broadcast radio and TV, recorded music and the cinema. 35Badar Waseer arbabwaseer@gmail.com
  • 38. Digital Audio File size The formulas for determining the size (in bytes) of a digital recording. For a monophonic recording:  sampling rate*duration of recording in seconds*(bit resolution / 8)*1 For a stereo recording:  sampling rate*duration of recording in seconds*(bit resolution / 8)*2 38Badar Waseer arbabwaseer@gmail.com
  • 39. Digital Audio File size • Resolution is measured in bits per sample. Since there are 8 bits in a byte, you have to divide the bit resolution by 8.) • Q: What will be file size for a 10-second mono recording at 22.05 kHz, 8-bit resolution? 22050 * 10 * 8 / 8 * 1 = 220,500 bytes 39Badar Waseer arbabwaseer@gmail.com
  • 40. • What will be file size of 10-second stereo recording at 44.1 kHz,16-bit resolution ? 44100 * 10 * 16 / 8 * 2 = 1,764,000 bytes. 40Badar Waseer arbabwaseer@gmail.com
  • 41. Compressed File Formats • There are both compressed and uncompressed audio file formats • Compression can be either – Lossless = The quality of uncompressed audio equals the quality of original audio file – Lossy = The quality of uncompressed audio is lower than the original (e.g. mp3, wma) • For compression/uncompression matching algorighm pairs (codecs) are used 41Badar Waseer arbabwaseer@gmail.com
  • 42. Codecs • A device or program that compresses data to enable faster transmission and decompresses received data. • An audio codec is a device or computer program capable of coding or decoding a digital data stream of audio. • There must be one algorithm for compressing and one for de-compressing (e.g. before playback) • Many codecs have to be installed as plugins for player/editing applications • There are many dedicated sites for downloading codecs 42Badar Waseer arbabwaseer@gmail.com
  • 43. Wave/WAV • The uncompressed audio format developed by Microsoft • Wav files can be either mono or stereo files and of different sample rates and resolutions • Many platforms support wav files 43Badar Waseer arbabwaseer@gmail.com
  • 44. UNIX/NeXT audio (.au) • ”Original” format of networked audio • Many early versions of browsers and programming languages (e.g. Java) support au-files • Au was originally developed by Sun 44Badar Waseer arbabwaseer@gmail.com
  • 45. AIFF • Audio Interchange File Format • Originally the sound format of Amiga & Apple computers • AIFF file consists of so-called chunks in which the qualities of audio + the actual audio data are stored 45Badar Waseer arbabwaseer@gmail.com
  • 46. MPEG (mp3) • Nowadays very popular compressed audio format • Mp3 is one of the subcategories of MPEG standard • Mpeg 1 Layer 3 (mp3) was originally targeted for transmitting speech over networks • Several settings can be adjusted when packaging audio into mp3 format 46Badar Waseer arbabwaseer@gmail.com
  • 47. RealAudio • .ra/.rm files • The first audio format to use streaming technology • The sound file can be listened while it is been streamed into the harddrive (The complete file doesn’t need to be loaded) • Many internet radio stations use ReadAudio as the broadcasting format 47Badar Waseer arbabwaseer@gmail.com
  • 48. Other Audio Formats • Besides the aforementioned there are may audio formats for different uses: – WMA – Ogg – Monkey’s Audio (.ape) – FLAC • In addition the audio editors produce files which include project information + actual audio data 48Badar Waseer arbabwaseer@gmail.com
  • 49. Summary • There are two main types of digital audio – Sampled audio • Captured by sampling an analogue waveform at a set rate – MIDI data • Instructions on how to perform some musical composition • Sampled audio requires more storage space than MIDI information 49Badar Waseer arbabwaseer@gmail.com