Digital Media Primer YueLing Wong Copyright c2013 by
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved. 1
Chapter 5 Capturing and Editing Digital Audio Part 4 Delivery of Digital Audio 2
In this lecture, you will learn: • Delivery of audio for different intended uses 3
Uses of Digital Audio • • • Video Multimedia authoring Playback on the Web Audio CD Podcast 4
Video • Export audio and import it into the video editing program • Most video editing program support: –. wav –. aif – mp 3 • Some audio editing program, such as Adobe Audition, let you import video – can synchronize audio with the video 5
Multimedia Authoring • Export audio and import it into the multimedia authoring program • Adobe Flash supports: –. wav –. aif –. au –. mp 3 – audio-only Quick. Time 6
Playback on the Web • Best if small file size for less wait time • HTML 5 audio • Streaming format • Progressive download 7
Methods to Play Back on the Web • Embedding the audio on the Web page – HTML 5 audio Played using the browser's built-in player – Non-HTML 5 audio Played using plug-in or external player • Linking to the audio file – will cause the file to play in an external player window 8
HTML 5 Audio • Supported formats: MP 3, ACC (MP 4), OGG Vorbis, and WAV • HTML 5 <audio> tag: Example usage: <audio src="demo. oga" controls> • An introduction of HTML 5 video and audio is covered in Chapter 15 9
Quick. Time Audio-Only Movies • Can be exported using video-editing programs (Adobe Premiere Pro, Apple Final Cut Pro) • Fast-start movies: Allow progressive download—the audio will start to play as soon as enough data have been downloaded. 10
Embedding Quick. Time Audio-Only Movies in a Web Page • HTML • <object> tag • Parameters: – controller: visibility of the movie controller bar – loop: whether the movie loops playback – autoplay: whether the movie automatically starts 11
Example HTML Code: Embedding Quick. Time for Background Music <!DOCTYPE html PUBLIC "-//W 3 C//DTD XHTML 1. 0 Transitional//EN" "http: //www. w 3. org/TR/xhtml 1/DTD/xhtml 1 -transitional. dtd"> <html xmlns="http: //www. w 3. org/1999/xhtml"> <head> <title>Demo – QT Sound with Controller</title> </head> <body> <object classid="clsid: 02 BF 25 D 5 -8 C 17 -4 B 23 -BC 80 -D 3488 ABDDC 6 B" codebase="http: //www. apple. com/qtactivex/qtplugin. cab" width="0" height="0"> <param name="src" value="ylwong-example. mov"/> <param name="controller" value="false"/> <param name="autoplay" value="true"/> <param name="loop" value="true"/> <embed width="0" height="0" src="ylwong-example. mov" controller="false" autoplay="true" Please update the code loop="true" > Figure 5. 26 in the book </embed> </object> </body> </html> in 12
Example HTML Code: Embedding Quick. Time with a Controller Bar <!DOCTYPE html PUBLIC "-//W 3 C//DTD XHTML 1. 0 Transitional//EN" "http: //www. w 3. org/TR/xhtml 1/DTD/xhtml 1 -transitional. dtd"> <html xmlns="http: //www. w 3. org/1999/xhtml"> <head> <title>Demo – QT Sound with Controller</title> </head> <body> <object classid="clsid: 02 BF 25 D 5 -8 C 17 -4 B 23 -BC 80 -D 3488 ABDDC 6 B" codebase="http: //www. apple. com/qtactivex/qtplugin. cab" width="50" height="16"> <param name="src" value="ylwong-example. mov"/> <param name="controller" value="false"/> <param name="autoplay" value="true"/> <param name="loop" value="true"/> <embed width="50" height="16" src="ylwong-example. mov" controller="false" autoplay="true" loop="true" > </embed> </object> </body> </html> 13
Quick. Time with a Controller Bar 14
Real. Audio • Can be streamed – require a Real Server—a streaming server • Can also be used on the Web without streaming • . ra or. rm file – converted from a. wav using Real. Producer Basic (free) or Real. Producer Plus 15
Audio CD • Must use: – sampling rate: 44, 100 Hz – bit depth: 16 – stereo • Audio editing programs (such as Adobe Audition) also let you create audio CD projects: – title and artist for each track – length of pauses between tracks – enable/disable copy protection – ISRC number 16
Podcast • Podcast: – a collection of files available on a Web server – usually audio files – can be any types of files: Web pages, text, PDF, images, . . . • Episode: Each file in the podcast • Feed: – The text file that lists the internet addresses of the files in a podcast. – Posted on a Web server – People subscribe to the feed 17
How Podcast Works • Whenever a new episode is available, it will be automatically downloaded to the subscriber's computer or device (e. g. i. Pod) • The software program that periodically checks and download the new items is called aggregator (e. g. i. Tune) 18
General Steps to Podcast Audio 1. 2. 3. Create Your Audio Content in MP 3 Put Your MP 3 Files on a Web Server Create Your Podcast Feed File an XML file that lists these information of each episode: – – – 4. title internet address author description length and type of the audio publication date Publish Your Podcast Feed – – Post your feed file to a Web server and make a link to the feed file like you would post and link any other content. Icons used for the link: 19
Review Questions Note to instructor: Depending on your preference, you may want to go over the review questions at the end of this lecture as an instant review or at the beginning of next lecture to refresh students' memory of this lecture. 20
Review Question Name several uses of digital audio. 21
Review Question In which of the following uses of audio that the smaller file size is generally a more crucial consideration? A. Video B. Multimedia authoring C. Playback on the Web D. Audio CD E. Podcast 22
Review Question In which of the following uses of audio that the audio quality is generally a more crucial consideration? A. Video B. Multimedia authoring C. Playback on the Web D. Audio CD E. Podcast 23
Review Question What is the advantage of using streaming format or progressive download for audio playback on the Web? 24
Review Question Which of the following properties of a Quick. Time audio-only movies can be set in the HTML code? (More than one correct choice) A. visibility of the controller bar B. width and height of the controller bar C. automatically start playing D. looping the audio 25
- Slides: 25