Introduction to Multimedia Lecture #11 Intro to Sound Instructor: Mohamed MAGANGA.

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.
                      Digital Audio 1.
Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets.
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.
Sound in multimedia How many of you like the use of audio in The Universal Machine? What about The Universal Computer? Why or why not? Does your preference.
Sound can make multimedia presentations dynamic and interesting.
4.1Different Audio Attributes 4.2Common Audio File Formats 4.3Balancing between File Size and Audio Quality 4.4Making Audio Elements Fit Our Needs.
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.
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.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
Chapter 5-Sound.
I Power Higher Computing Multimedia technology Audio.
5/4/20151 Lesson 5 Sound. 5/4/20152 Overview Introduction to sound. Multimedia system sound. Digital audio. MIDI audio. Audio file formats.
 Multimedia is everything you can hear or see: texts, books, pictures, music, sounds, CDs, videos, DVDs, Records, Films, and more.  Multimedia comes.
Comp 1001: IT & Architecture - Joe Carthy 1 Review Floating point numbers are represented in scientific notation In binary: ± m x 2 exp There are different.
Digital audio recording Kimmo Tukiainen. My background playing music since I was five first time in a studio at fourteen recording on my own for six months.
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.
Digital Audio Agenda Digital Audio Concepts  What’s it all about Creating Audio  Equipment Demos and practice time  Best way to learn = explore  Guides.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 4 Introduction to Networks and the Internet.
XP 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets Tutorial 8.
Chapter 9 Audio.
Chapter 14 Recording and Editing Sound. Getting Started FAQs: − How does audio capability enhance my PC? − How does your PC record, store, and play digital.
                      Digital Video 1.
Sound Importance of sound How to make sound (types)
 Speech  Narration—also called voice overlay or voice track  Dialogue—between two or more characters  Direct Address—talking straight at the camera.
1 Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET201.
Unit 7 – Multimedia Element: Sound
Slide 1 of 43 Warm up Questions: Question: Which of these will NOT affect the size of a video file? a)Video size (height and width) b)Color resolution.
Introduction to Interactive Media 10: Audio in Interactive Digital Media.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Audio and Video CGS Some Common Audio Formats Format Use Extension MIDI instrumental music.mid MPEG songs.mp3 RealAudio live broadcasts.ra Wave.
CHAPTER SEVEN SOUND. CHAPTER HIGHLIGHTS Nature of sound – Sine waves, amplitude, frequency Traditional sound reproduction Digital sound – Sampled – Synthesized.
XP Tutorial 8New Perspectives on HTML and XHTML, Comprehensive 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets Tutorial.
Chapter 11 Audio © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in.
AUDIO MEDIA 1 Created } “Borrowed” } Microphone MIDI keyboard CD’s & flash drives Internet Audio Sources 2.
Sound and audio. Table of Content 1.Introduction 2.Properties of sound 3.Characteristics of digital sound 4.Calculate audio data size 5.Benefits of using.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Sound or Audio, whichever you prefer –MIDI Files.midi or.mid (Musical Instrument Digital Interface) use for instrumental music. –This format is supported.
Multimedia Elements: Sound, Animation, and Video.
Sound on the Web. Using Sound on a Web Site Conveying information  pronounce a word or describe a product Set a mood  music to match the web page scene.
Modication by tuti 1 LECTURE 7 THE USES OF DIGITAL AUDIO IN MULTIMEDIA.
Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.
XP Tutorial 8New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and.
Computer Concepts 2014 Chapter 8 Digital Media. 8 Digital Audio Basics  Sampling a sound wave Chapter 8: Digital Media 2.
Creating Web Documents alt attribute Good and bad uses of ‘multimedia’ Sound files Homework: Discuss with me AND post announcement of Project II. Forms.
Adding Audio to Your Web Site Adventures in Information February 17, 1999 presented byEileen Flick, ISD.
Multimedia Technology and Applications Chapter 2. Digital Audio
Chapter 15 Recording and Editing Sound. 2Practical PC 5 th Edition Chapter 15 Getting Started In this Chapter, you will learn: − How sound capability.
Sound element Week - 11.
By Cheyenne Morgan Unit 1- Set up and operate a DAW.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
Sound in Multimedia Psychology of sound what do you use it for? what techniques for its communication exist? Science of sound why does it exist? how it.
 Speech  Narration—also called voice overlay or voice track  Dialogue—between two or more characters  Direct Address—talking straight at the camera.
Glencoe Introduction to Multimedia Chapter 8 Audio 1 Section 8.1 Audio in Multimedia Audio plays many roles in multimedia. Effective use in multimedia.
 Speech  Narration—also called voice overlay or voice track  Dialogue—between two or more characters  Direct Address—talking straight at the.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
XP Practical PC, 3e Chapter 14 1 Recording and Editing Sound.
Chapter 15 Recording and Editing Sound
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Using Multimedia on the Web
Video on the Web.
Multimedia: Digitised Sound Data
Chapter 5:- Sound Eyad Alshareef Eyad Alshareef.
Digital Music Scott Bennett 1/3/2019.
Chapter 11 Audio © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in.
Chapter 9 Audio.
Presentation transcript:

Introduction to Multimedia Lecture #11 Intro to Sound Instructor: Mohamed MAGANGA

Warm up questions Which of these will NOT affect the size of a video file? a. a. Picture Size b. b. Color Resolution c. c. Type of font used for credits d. d. Number of Frames per second e. e. Length of Clip f. f. All of the above will affect the size What is a codec? a. a. A type of video capture card b. b. A piece of software used for compression/decompress of videos and audios c. c. A piece of software used to edit videos d. d. None of the above ube.com/watch ?v=6gmP4nk0E OE

Today Warm up questions Announcements Introduction to sound

Lecture Topics Exploring Sound Intro to Sound What is Digital Format Sources of Sound Sound Editing Software Sound File Formats Audio cycle Sound on the web Streaming

Intro to Sound We rely on SOUND to enhance Multimedia Applications WHY? Easily capture the attention of users Facilitate easy learning Set the mood

Intro to Sound Sound incorporated into Video, Animation production Sound/Picture synchronization Disconcerting vs Incoherent Matching

Intro to Sound Sound can: Sound can: Set a mood  Sell, Sell, Sell  dwinningpoo.wav dwinningpoo.wav Educate/Present Information  Allow communication over the web via Internet Audio Conferencing or Internet telephony allows two-way, full-duplex audio conversations over the Web. With Internet telephony you can talk to friends or family without the cost of a long-distance phone call.

Intro to Sound Where can you get sound? Where can you get sound? Purchase a cd  must watch for copyright infringements when using sound on your site Purchase a cd  must watch for copyright infringements when using sound on your site o.wmv o.wmv Download sound from companies  e.g. (search for background music, then cow mooing) Download sound from companies  e.g. (search for background music, then cow mooing) Download fro m iTunes Download fro m iTunes Avoid copyright infringement when incorporating music on your website.

Intro to Sound Where can you get sound? Where can you get sound? Create your own sound: Recording program with a computer's operating system (such as Sound Recorder) and speak into a microphone attached to the computer – quality will not be the best Recording studio with equipment such as DAT (Digital Audio Tape) devices that record sounds digitally. Produces a high quality commercial product Electronic instruments such as synthesizers can be used to create music sound files. Connecting the instrument to a computer allows the sounds to be captured in a MIDI (Musical Instrument Digital Interface) format.

What is Sound? Sounds are pressure waves of air Visualize the sounds as a series of recurring waves called a waveform. Volume - the higher the wave the louder the sound Pitch or frequency - the closer together the waves the higher the pitch Play audio clip BellsOh

How is Sound Recorded? Computers have a sound card which converts the the sound wave from a microphone (analog to digital) Laptops rarely have a sound card because manufacturers incorporate sound circuitry into system board Sound card has: (ADC) Analog-to-Digital Converter for recording (DAC) Digital-to-Analog Converter for playing audio.

How do computer Represent Sound? Each dot in the figure represents one audio sample To convert analog sounds to digital sounds  thousands of samples are taken of the sound waves and recorded as bits. In a multimedia application sound must be in a digital form (string of 1s and 0s).

QUALITY OF DIGITAL RECORDING DEPENDENT ON 1.Sample Rate 2.Sample Size 3.Channels 4.Codecs

QUALITY OF DIGITAL RECORDING - SAMPLE RATE - SAMPLE RATE # of samples taken in a second Number of times/sec that the waveform is measured 1000 samples per second = 1 KHz (1000Hz) 1 sec

8 KHz VOICE ONLY 22 KHz MUSIC FILES QUALITY OF DIGITAL RECORDING - SAMPLE RATE - Reminder: Number of times/sec that waveform is measured 1000 samples per second = 1000Hz = 1 KHz We MUST take 2 or more samples per wave (known as Nyquist Limit) Question: what is the advantage of taking lots of samples per wave  (better sound) Question: What is the disadvantage of taking lots of samples per wave  (bigger audio file)

SAMPLE RATE Number of times/sec that waveform is measured 1000 samples/sec = 1000Hz = 1 KHz QUALITY OF DIGITAL RECORDING 8 KHz VOICE ONLY (telephone quality) KHz AM Quality 22 KHz FM Quality 44.1 KHz CD

Can you hear the difference? One of these was sampled at 8000Hz (8KHz) and one at 16000Hz (16KHz). Question: Which one should sound better? Question: Which one does sound better? One Two

QUALITY OF DIGITAL RECORDING - SAMPLE SIZE - (2)SAMPLE SIZE (aka bit depth) Each measurement taken is represented by a value How many bits do we use represent that value?  The higher the sample size – better sound, bigger file

Mono signal one channel( stream) of data reproduced equally on both speaker channels Stereo signal consists of two channels (streams)of data double the size of mono file, but higher quality QUALITY OF DIGITAL RECORDING - CHANNELS - (3) CHANNELS Mono vs. Stereo

QUALITY OF DIGITAL RECORDING - CHANNELS - (4) CODECS Software programs that greatly reduce the audio file size Codecs for audio use lossy compression  Removes redundant and less- significant data  Each time compression applied, quality of level of the file diminishes  See file formats section for compression use (.mp3,.ra ) Common File Formats that are uncompressed:.wav (very common, 44KHz, 16bit).aiff.cdda (Red Book)  standard for CDs, 44KHz, 16 bit per sample, 2 channels.

Higher sampling rate & higher sample size, the more accurately sound can be digitized. Quality of the digitized sound gets better 1 KHZ = 1000 cycles per second SUMMARY Combine Sample Rate, Size Size, Channel QUALITY OF DIGITAL RECORDING - CODECS -

QUALITY OF DIGITAL RECORDING In Audacity, Settings are in Edit >Preferences

How big can audio get? An example of uncompressed sound with CD quality for 1 minute of audio: 1 minute of recording  60 seconds 60 * 44,100 samples/second  2,646,000 samples 2,646,000 samples * 16bits per sample  42,336,000 bits 42,336,000 bits * 2 (stereo, 2 channels)  84,672,000 bits 84,672,000 bits / (8bits per byte)  10,884,100  About 10 MB (Megabytes)!!!

QUALITY OF DIGITAL RECORDING The size of a file is a constant calculation based on: Sample rate Sample size (bit Depth) number of channels (mono or stereo), codec Size in Bytes 1 minute2 minutes3 minutes Mono Stereo 5,168 (5.2 MB) 10,336 (10.3 MB) 20,672 (20.6 MB) 15,504 (15.5 MB) 31,007 (31 MB) Comparison of file sizes for an uncompressed 16 bit, 44.1 kHz WAV music file:

Sound-Editing Software Sound editing programs characteristics record sounds in different sample sizes and resolutions save sounds in different file formats In addition to: Edits: unwanted noise, pauses, trimming Fade-ins, fade-outs, background music, special effects Several files can be mixed or spliced together Save the file in a format intended for the audience application Most sound files are saved in.mp3,.wav.

Sound-Editing Software - cont Audacity Software Edit the clip, Combine it with other sound files Add transitions or special effects

Sound on the Web Using audio on the Web? Audio files are quite large File Size and File format is important File Size Select small sized files The smaller the file, the faster the webpage will download, and the faster it will start up playing the sound file File Formats Consider: Platform Support Browser Support Compressed or Uncompressed quality Used for what?

Audio Format File Extension AdvantagesDisadvantages Advanced Audio Compression.aac Good sound quality Used on iTunes Copy protected Limited to approved devices Audio Interchange Format.aif /.aiff Excellent sound quality Supported without a plug-in Uncompressed so large files MP3.mp3 Good sound quality even though compressed Can be streamed over the Web Requires standalone player or browser plug-in Real Audio.ra,.rx High Compression Very small files Can be streamed over the web Sound quality not great Requires a player or plug-in Wave.wav Good sound quality Supported without a plug-in Uncompressed, very large files Windows Media Audio.wma Good sound quality even though compressed Used on music download sites Files can be copy protected Requires Windows Media Player 9 or higher Audio File Formats

Sound File Formats What is MIDI music? Musical Instrument Digital Interface Classified as synthesized sound MIDI deals with music and synthesized sound, it does not handle voices or noise well Contains instructions for creating the pitch, volume and duration of notes that sound like various musical instruments Disadvantage: Does not produce high-quality vocals Advantage: Midi files are more compact. Small File sizes, easy to edit and change 3 min of Midi music = 10 KB 3 min in another uncompressed waveform = 15 MB Sample OneOne Sample TwoTwo

Sound File Formats – continued MIDI FORMAT Software such as Cakewalk, Cubase and Finale can be used to create and edit MIDI music. Create your own tunes Input directly from a MIDI instrument to your computer Edit notes/combine parts for several instruments

Can you tell the difference Which one is a live recording and which one is computer generated? One Two

Audio can be streamed too! Downloadable AudioStreamed Audio AdvantagesDisadvantagesAdvantagesDisadvantages Once downloaded, can be replayed, edited over and over (don’t need to wait again for download) Takes a long time to download, especially for big files Plays immediatelyCant rewind, pause, etc. Don’t need a special streaming web server to post the file Takes up disk space on the computer to store it Consumes RAM only while being played, then purged after Need a special server to post it Example: Audio Files on LimewireExample: cbc radiocbc radio

Embedding Code into a Webpage (1) Linking to the Sound file (Downloads the sound file and starts playing it once) Download a sound file (2) Embed the sound file (Downloads the sound file but and starts playing once user clicks on the “Play” button it once) (Downloads the sound file and starts playing it automatically once)