1. Digitization of Sound What is Sound? Sound is a wave phenomenon like light, but is macroscopic and involves molecules of air being compressed and expanded.

Slides:



Advertisements
Similar presentations
3.01C Multimedia Elements and Guidelines 3.01 Explore multimedia systems, elements and presentations.
Advertisements

Multimedia: Digitised Sound Data Section 3. Sound in Multimedia Types: Voice Overs Special Effects Musical Backdrops Sound can make multimedia presentations.
2.02D Adding Sounds into Computer Animations 2.02 Develop Computer Animations.
                      Digital Audio 1.
Multimedia – Digital Audio & Video CSC1720 – Introduction to Internet Essential Materials.
Digital Audio Teppo Räisänen LIIKE/OAMK. General Information Auditive information is transmitted by vibrations of air molecules The speed of sound waves.
Multimedia Authoring1 Introduction to Garageband Garageband is both a: MIDI sequencer Digital audio recorder Garageband: Real Instruments Tracks displayed.
Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 36 How Music and Audio Work on the Internet.
A stereo audio file 1. Audio Channels Number of audio channels determines number of waveforms in a recording Two relevant types of recording Stereo recording.
CNIT 132 – Week 9 Multimedia. Working with Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each.
4.1Different Audio Attributes 4.2Common Audio File Formats 4.3Balancing between File Size and Audio Quality 4.4Making Audio Elements Fit Our Needs.
2 Information Processing
1 Multimedia on the Web: Issues of Bandwidth Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each second.
4.2 Multimedia Elements Audio 1. Learning Outcomes: At the end of the lesson, students should be: a) describe the purpose of using audio in multimedia.
 Speech  Narration—also called voice overlay or voice track  Dialogue—between two or more characters  Direct Address—talking straight at the camera.
Sounds, Images & Other Objects Website Production.
 Multimedia is everything you can hear or see: texts, books, pictures, music, sounds, CDs, videos, DVDs, Records, Films, and more.  Multimedia comes.
3.02C Multimedia Fair Uses Guidelines and Elements
Audio Basic Concepts. Audio in Multimedia Digital Audio: Sound that has been captured or created electronically by a computer In a multimedia production,
Image and Sound Editing Raed S. Rasheed Sound What is sound? How is sound recorded? How is sound recorded digitally ? How does audio get digitized.
Multimedia on the Web. Audio Video Animation Interactivity Plug-ins in the users’ computer –Real Player (.ram,.rpm,.avi) –Quicktime (.mov) –Shockwave.
AUDIO VIDEO FLASH DIGITAL MEDIA: COMMUNICATION AND DESIGN
Chapter 9 Audio.
 Speech  Narration—also called voice overlay or voice track  Dialogue—between two or more characters  Direct Address—talking straight at the camera.
Skill Area 212 Introduction to Multimedia Internet and MultiMedia for SC 2.
By Frankie, K. F. Yip Chapter 6 Speech. By Frankie, K. F. YipLecture 6 - Sound2 Sound Waves.
Chapter 6 Basics of Digital Audio
1 Week 10: Audio Recording. 2 Overview  What is sound?  What does analogue mean?  Analogue-to-Digital conversion  Key terms in digital audio  Compression.
Multimedia Digital Audio
1 Lecture 12: Multimedia Not in Web 101 Text  Important Multimedia Issues  Audio  Movies and Video  Multimedia and HTML Documents.
CHAPTER SEVEN SOUND. CHAPTER HIGHLIGHTS Nature of sound – Sine waves, amplitude, frequency Traditional sound reproduction Digital sound – Sampled – Synthesized.
2.02G Publishing Animated Videos 2.02 Develop Computer Animations.
Basics of Digital Audio Outline  Introduction  Digitization of Sound  MIDI: Musical Instrument Digital Interface.
AUDIO MEDIA 1 Created } “Borrowed” } Microphone MIDI keyboard CD’s & flash drives Internet Audio Sources 2.
Sound or Audio, whichever you prefer –MIDI Files.midi or.mid (Musical Instrument Digital Interface) use for instrumental music. –This format is supported.
Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.
3.01C Multimedia Elements and Guidelines 3.01 Explore multimedia systems, elements and presentations.
1 1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education.
GIF - Graphics Interchange Format JPEG - Joint Photographic Experts Group PNG - Portable Network Graphics GIF images are limited to the 8 bit palette which.
Multimedia Technology and Applications Chapter 2. Digital Audio
Audio Communications: Sound Mr. Butler Communication Systems John Jay High School Wappingers Central School District UPDATED 11/2011.
LECTURE 07 RAZIA NISAR NOORANI Digital Video. Basic Digital Video Concepts CS118 – Web Engineering 2 Movie length Frame size Frame rate Quality Color.
 Speech  Narration—also called voice overlay or voice track  Dialogue—between two or more characters  Direct Address—talking straight at the camera.
Week 12 Lecture 1 Audio and Video File Formats. Audio on the web Can be linked to and downloaded like any other file Traditional audio files are quite.
Music files in PowerPoint 2007? By Ashley Wiger.
Audio Streaming © Nanda Ganesan, Ph.D.. Audio File Features Audio file is a record of captured sound that can be played back –The WAV File is an example.
 Speech  Narration—also called voice overlay or voice track  Dialogue—between two or more characters  Direct Address—talking straight at the.
Multimedia – Digital Audio & Video. CSC1720 – Introduction to Internet2 Outline Audio / Video on the Web Audio / Video on the Web Basic Digital Audio.
LECTURE # 4 FARAZ KHAN Multimedia Digital Audio 1.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Objective % Explain concepts used to create digital audio.
Multimedia: Digitised Sound Data
Objective % Explain concepts used to create digital audio.
2.02G Publishing Animated Videos
2.02D Adding Sounds into Computer Animations
2.02F Publishing Animated Videos
Chapter 5:- Sound Eyad Alshareef Eyad Alshareef.
3.01C Multimedia Fair Uses Guidelines and Elements
Multimedia: making it Work
3.01C Multimedia Elements and Guidelines
3.01C Multimedia Fair Uses Guidelines and Elements
2.02D Adding Sounds into Computer Animations
3.01C Multimedia Fair Uses Guidelines and Elements
3.01C Multimedia Elements and Guidelines
2.02D Adding Sounds into Computer Animations
3.01C Multimedia Fair Uses Guidelines and Elements
Objective Explain concepts used to create digital audio.
Digital Video Faraz Khan.
Chapter 9 Audio.
Presentation transcript:

1

Digitization of Sound What is Sound? Sound is a wave phenomenon like light, but is macroscopic and involves molecules of air being compressed and expanded under the action of some physical device. For example, a speaker in an audio system vibrates back and forth and produces a longitudinal pressure wave that we perceive as sound. Since sound is a pressure wave, it takes on continuous values, as opposed to digitized ones. 2

Even though such pressure waves are longitudinal, they still have ordinary wave properties and behaviors, such as reflection (bouncing), refraction (change of angle when entering a medium with a different density) and diffraction (bending around an obstacle). If we wish to use a digital version of sound waves we must form digitized representations of audio information. 3

Digitization  Digitization means conversion to a stream of numbers, and preferably these numbers should be integers for efficiency. 4

Digital Signal  Use Pulse Code Modulation (PCM) to represent an audio signal by digital data. 5

Basic Digital Audio Concepts  Sampling rate  Number of sample taken of a signal in a given time (usually one second)  Bit depth  Describes the accuracy of the audio data  Channels  E.g. Stereo has two channels  Bit rate  Measured in kilobits per second (Kbps) is a function of the bit depth and sampling rate 6

Sampling rate  The more sample taken per second, the higher the accuracy.  Typically measured in kilohertz (KHz).  CD audio has 44,100 samples per second (44.1KHz).  8 KHz produces lower quality radio sound.  Standard sampling rates include “ 8KHz ”, “ KHz ”, …  The high-end 96K is used in DVD, but is not applicable to the Web. 7

Sampling Rate 8 demo

Bit depth Also called “ sampling resolution ” or “ word length ”. The more bits, the better is the quality of the audio (and a larger file of course). Common bit depths are 8-bit (telephone like), 16-bit (CD quality), and 20, 24, 32, 48-bit depths. How many signal can a 8-bit and a 16-bit data represent? –  – 

Channels  Audio file can support one to six channels of audio formats.  Mono – one channel  Stereo – two channels  Some others – three, four channels.  Six channels – 5.1-channel surround sound.  More multi-channel formats announce in the coming years. 10

Channel Examples 11

Bit rate  Audio files are measured in terms of bit rate which is measured in kilobits per second (Kbps).  It can be calculated by dividing the file size by the time (in second) to play the audio clip.  E.g. 3Mb file play in 30 seconds  3000k / 30 = 100kbps.  Quality at different compression rates 12

Optimizing for the Web  Length of the audio clip  Keep the audio clip as short as possible.  E.g. just keep the most sweetest part of your greeting.  Number of channels  A mono audio file is halved the space of a stereo file.  Depends on your actual needs. 13

Optimizing for the Web  Bit depth  Audio file on the Web are usually 8-bits.  Half the size of a 16-bit file.  Sampling rate  Half the sampling rate will also halve the space needed.  Voice only audio file can be reduced to 8KHz.  22 KHz music clips are acceptable.  Putting all things together: Mono, 8-bit, 22KHz, MP3 compression. 14

Calculate audio size  Size = Bit Depth X Sample Rate X File Length X Channels  8-bit mono: seconds x KHz  16-bit mono: (seconds x KHz) x 2  8-bit stereo: (seconds x KHz) x 2  16-bit stereo: ([seconds x KHz] x 2)x2  E.g. the file size of 30 seconds of 16-bit, 11KHz mono audio:  (30 x 11) x 2 = 660K. 15

Streaming Audio  What is it?  Play almost immediately after the request, continues playing the transferring data.  Advantages:  Address the problem of long download time.  Control distribution and protect copyright, because the user cannot get a copy of the file.  Disadvantages:  Sound quality may be affected by low speed or unstable Internet connection. 16

What is Streaming? 17

How does it work? Streaming audio 18 Web browser Web server RealAudio Server Web browser request a RealAudio from the web server Packet are sent to a buffer on the receiving Computer, the RealPlayer will play the sound File when buffer full

Web Audio Formats  WAV/AIFF (.wav/.aif/.aiff)  The Waveform Audio File format (.wav) was developed by Microsoft, supports arbitrary sampling rates and bit depths.  The Audio Interchange File format (.aif,.aiff) was developed for Macintosh platform.  They are less likely used on the Web, because people use “ mp3 ” or “ streaming ”. 19

MP3 (.mp3)  Able to maintain excellent sound quality at very small file sizes.  The compression reduces an audio file to one-tenth of its original size.  E.g. 40MB file  3.5MB  MP3 is actually MPEG-1 Layer-III  Good for distribution of HQ audio.  Demo: 20

Apple QuickTime Audio (.mov)  QuickTime is a well-known video format, but it can create audio-only movies.  QuickTime is a container format, which is able to store still images, movie formats, …  Excellent compression, true streaming  Netscape and IE have Plug-in now. 21

MIDI (.mid/.midi)  MIDI stands for “ Musical Instrument Digital Interface ” which is developed for electronic musical instruments.  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. 22

RealMedia/RealAudio (.rm/.ra)  RealAudio is a server-based streaming audio format.  The RealServer responses to the requests and delivers the streaming packets, including the bandwidth negotiation.  A robust RealServer can support thousands of simultaneous listeners.  Good for continuous-playing audio and live broadcasts to a large group of people.  Example: RTHK RadioRTHK Radio 23

Windows Media (.wma/.asf)  Windows Media is a streaming system.  It wraps all media elements into a Active Streaming File (.asf).  Audio may be saved as non-streaming Windows Media Audio format (.wma).  Good for continuous-play audio.  The encoder and player is Free, shipped with Windows OS. 24

Choosing an audio format 25 Audio Needs Suggested formats Short voice greetings WAV, AIFF, MP3 News broadcasts Streaming solutions (RealAudio, Windows Media) Background music MIDI, WAV Music samples for some audience MP3 or QuickTime Radio-style or Live broadcasting RealMedia System Musical E-greeting card MIDI, WAV