Sound and the Web. Transferring sound Download Progressive Download Stream.

Slides:



Advertisements
Similar presentations
PART IV - EMBED VIDEO, AUDIO, AND DOCUMENTS. Find a video on Youtube.com: Search for a video, then look for the Embed code. Copy this code into the HTML/JavaScript.
Advertisements

Legal Meetings: Extended Instructions on Movica and Screencast.
ICE-TT A UDIOBOOKS & PORTABLE LISTENING DEVICES Pierce County Library System.
E-books, e-audiobooks, & music. On your computer, use your web browser to go to
                      Digital Audio 1.
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.
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.
Royalty Free Music for Schools Do You Have the To Do a Podcast?
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.
Free open source audio recording and editing software 1Using Audacity.
Love Utube Blocked at school? Psst…here’s a way around that issue. How to download and convert videos to place in PowerPoint.
Dreamweaver CS4 Concepts and Techniques Chapter 8 Media Objects.
INF Web Design Using Multimedia on the Web Video - Part 1.
Different Streaming Technologies. Three major streaming technologies include:
Define objects and their relationships to multimedia Explain the fundamentals of C, C++, Java, JavaScript, JScript, C#, ActiveX and VBScript Discuss security.
Using Adobe Media Encoder. Adobe Media Encoder can be used to convert media files from one format to another For example, we can use it to compress our.mov.
XP 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets Tutorial 8.
Positioning the Toolbar You can position the toolbar anywhere on the screen. You can also dock it at the top or side of the screen so that it stays in.
Audio and Video on the Web Sec 5-12 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Adobe AuditionProject 7 guide © 2012 Adobe Systems IncorporatedHow to use loops, music beds, and sound effects 1 When creating a movie soundtrack, you.
Go to our website, and click on the eMedia Catalog link To find books, either click on the advanced search (which I will.
Session: 11. © Aptech Ltd. 2HTML5 Audio and Video / Session 11  Describe the need for multimedia in HTML5  List the supported media types in HTML5 
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
Using Multimedia on the Web
Video on the Web. The Evolution of web video formats… WebM (Supported by Google) Ogg (Supported by Theora) Mp4 (h264 video encoding) WebM (Supported by.
 Continuous sequence of vibrations of air  (Why no sound in space? Contrary to Star Wars etc.)  Abstraction of an audio wave:  Ear translates vibrations.
Using HTML 5.  HTML 5 uses a standard method to embed audio into Web pages.  Prior to HTML 5, browser plug-ins or separate applications such as Windows.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: Multimedia on the Web.
Session 9: Multimedia J 0394 – Perancangan Situs Web Program Studi Manajemen Program Studi Manajemen Universitas Bina Nusantara.
Audio and Video CGS Some Common Audio Formats Format Use Extension MIDI instrumental music.mid MPEG songs.mp3 RealAudio live broadcasts.ra Wave.
Saving and printing Section 4. Objectives Student will learn about print a web site, download files from the internet.
Images, Hyperlinks, and Sound Module 2: XHTML Basics LESSON 3.
HTML, Third Edition--Illustrated Brief 1 HTML, Third Edition Illustrated Brief Unit D Adding Graphics and Multimedia.
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.
Sound or Audio, whichever you prefer –MIDI Files.midi or.mid (Musical Instrument Digital Interface) use for instrumental music. –This format is supported.
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.
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.
Downloading and Installing Autodesk Revit 2016
● Click on Start Button ● Go to Programs and click on Photo Story 3.
Downloading and Installing Autodesk Inventor Professional 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the.
5-1 OBJ Copyright 2003, Paradigm Publishing Inc. Adding Sound, Video, and Basic Interactivity with Buttons Macromedia Flash Design & Application.
HTML 5 Tutorial Chapter 3 Video. Video HTML 5.0 provides a standard for showing video. Using the element we can easily embed video within our web page.
HTML 5. Introduction In modern browsers, adding a video to your page is as easy as adding an image. No longer do you need to deal with special plug-ins.
Embedding Multimedia in Web Pages  Multimedia is a popular buzzword for sound, motion video, and interactive animation.  Some problems or obstacles.
Learning Aim C.  In this section we will look at some simple client-side scripts, browser compatibility, exporting and compressing and suitable file.
Thinking Mac From Windows. The Menu Bar Mac puts their Menu/Task Bars at the top of the desktop, not the bottom, like in windows.
Audio Formats. Digital sound files must be organized and structured so that your media player can read them. It's just like being able to read and understand.
FREE OPEN SOURCE AUDIO RECORDING AND EDITING SOFTWARE USING AUDACITY.
Podcasting workshop Roni Malek Science Learning Centre London
How to Rip and Convert Blu-ray to MOV Videos on Mac to Play Blu-ray Movies on iTunes From:
Download & Convert Videos 1.How to Download Videos from YouTube & other Web sites; and 2.Convert them to WMV format so can be edited in Windows Movie Maker.
Using Multimedia on the Web
Images, Hyperlinks, and Sound
Embedding Media into Web Pages
Chapter 4: HTML5 Media - <video> & <audio>
Audio and Video on the Web
PCM (Pulse Code Modulation)
Playing Audio (Part 2).
Integrating Multimedia: Sound, Video and More
Playing Audio (Part 1).
Client-Side Internet and Web Programming
Working with Multimedia
I Can’t Hear You! Sound Get out your notes.
Images, Hyperlinks, and Sound
I Can’t Hear You! Sound Get out your notes.
Importing your Favorites/Bookmarks
Media encoder File convertor.
I Can’t Hear You! Sound Get out your notes.
Presentation transcript:

Sound and the Web

Transferring sound Download Progressive Download Stream

Download …entire file must be transferred before can listen

Progressive download Starts playing as soon as has enough frames/sound…temp file is actually stored If you could find it, you could replay it, modify it… If downloads faster than you can list/watch it, buffers the file… ITunes is progressive. No streaming server needed. This is what we will use

Streaming Plays when enough frames/music, no temp file is created…iheart, Spotify…uses a streaming server

Common Web Audio Formats wav, mp3, mp4 wav files are actually containers, can contain compressed or uncompressed (PCM) files. A Windows format mp3 is compressed…what can’t hear is discarded mp4 files are containers. Common format of the contained sound is h.264, a codec, a compressor, decompressor Note: Phones (iphone and Android) format is compressed,and can be lossless or lossy (.m4a)..actually mp4

PowerPoint Support

Pulse Code Modulation:Review Converting analog to digital sound: A method used to digitally represent sampled analog signals. It is the standard form of digital audio in computers, CDs, digital telephony and other digital audio applications.

Pulse-code modulation (PCM) is a method used to digitally represent sampled analog signals. It is the standard form of digital audio in computers, Compact Discs, digital telephony and other digital audio applications.

Example

Setup Create a JMA501/Practice/Sounds folder Download and unzip the sounds zip file. Also, Polamalu.wav Save them to your JMA501/Practice/Sounds folder Sound and html 4 was a disaster: plug-ins, many formats, each having own requirements. We start with HTML4’s mess

There are at least four ways to play audio html 4 html 5 Windows Media Player was for Internet Explorer, for Firefox

Embed example Here's HTML 4 code to have a sound play when a page loads: It assumes precious wav is in same folder as the html code (JMA501/Practice/sounds) <embed src="precious.wav" autostart="true" hidden="true" loop="false">

Copy and paste into Notepad Save as EmbedAuto.htm in Practice/sounds… be sure to choose All Files, and be sure to append the htm : Test in IE, Chrome and Firefox...right click on the file name, choose Open with

Interpretation The first line identifies the file. Change the precious.wav to the name and format of any sound file. The second line causes the sound to play automatically. Change true to false if you don't want it to start automatically. The third line hides the control panel. Change false to true to allow the control panel to be visible. The fourth line (loop) limits the sound to playing just once. Changing false to true will allow the sound to repeat endlessly. However, it becomes annoying very quickly. The last line simply closes the element

Embed with controls <embed src="matthews.wav“ controls=“console” autostart="false" loop="false" > Copy, paste and save as EmBedWithControls.htm Are many controls options besides console

Quote marks Be sure using regular quote marks

Embed Objects Windows Media Player <object id="WindowsMediaPlayer" classid="CLSID:05589FA1-C356-11CE-BF01-00AA A" Save as EmbedObject.htm

Html5 ex 1 Simple HTML 5 examples: Your browser does not support the audio element. Save as AudioHTML5.htm and test all browsers

Result

Html 5 and mp3 files Mp3 files Try polamalu.mp3. You have to change the type value to type="audio/mpeg” i.e.

Mp3 and html 5 Your browser does not support the audio element. Save as HTML5OK.htm

Wav files to mp3 Our precious file is a wav. We need to export the audio to the format supported by all the browsers (mp3). i.e. convert the wav to mp3 (mpeg). We will use Adobe Media Encoder application to do that conversion. First, let’s see what formats are supported in HTML 5 browsers

support Here are the main browser’s support for each of the three formats: (table below from w3schools).

Media Encoder Basic issue: We need to convert precious.wav to precious.mp3 to have it play in HTML 5 IE All Programs>Adobe Media Encoder cc 2014

Encoder

Presets Select System Presets>Audio only Traditionally we select mp3 128 bps (bits per second) as the output type: But with today’s fast computers, 256 bps would be better

Choose source Add precious.wav as the source... click the + sign and browse to it

Choose source…

Specify location Browse to specify the output file’s location:

Finish source Right-click on the source file:

Settings Choose Export Settings Should see:

Done Watch for a green checkmark, indicating the process is complete: Or look for Status: :Done

Another mp5 example Modify code to look for mp3 or wav…another HTML 5 example

Your browser does not support the audio element. Save as CheckWhatFormat.htm As noted: The controls attribute adds audio controls, like play, pause, and volume

Buttons Using HTML 5 buttons to Play/Pause audio: Buttons to Play Audio Save as PlayButtons.htm