0 index
1 Early Audio Files
2 Audio Today
3 Legal Concerns
4 Nonstreaming Audio
5 Streaming Audio
6 Advantages of Streaming Audio
7 Disadvantages of Streaming Audio
8 Adding Nonstreaming Audio to HTML
9 <Embed> tag
10 Background Sound
11 Streaming Audio
12 Adding Streaming Audio to HTML
13 Reference

outline
created using slideshow.cgi by Andy Harris















CSCI N241 Web Design: Sound and Plug-ins
1. Early Audio Files
  • Have been on the Web since the early days.
  • Files are usually quite large and may take some time to download



































CSCI N241 Web Design: Sound and Plug-ins
2. Audio Today
  • Streaming Audio has made it possible to have live broadcasts on the Web



































CSCI N241 Web Design: Sound and Plug-ins
3. Legal Concerns
  • Audio files, like images, are copyrighted.
  • However, there are many royalty-free sound effects and music - once you have paid for the package of sounds
  • Best bet - Record it yourself



































CSCI N241 Web Design: Sound and Plug-ins
4. Nonstreaming Audio
  • Are retrieved from the server and are downloaded to the hard disk in their entirety before they can begin to play.
  • Advantages
    - does not require any special software
    - Simple to create in standard formats
  • Disadvantages - Large file size and difficult to protect copyrights and limit distribution



































CSCI N241 Web Design: Sound and Plug-ins
5. Streaming Audio
  • Allows for the audio to be heard almost immediately
  • Requires several software components
    - an encoder - which converts audio to the streaming format
    - a player
    - special audio server software



































CSCI N241 Web Design: Sound and Plug-ins
6. Advantages of Streaming Audio
  • Audio begins soon after the stream begins
  • Sound quality is not as severely sacrificed
  • Artists and publishers can control distribution and protect the copyright



































CSCI N241 Web Design: Sound and Plug-ins
7. Disadvantages of Streaming Audio
  • Possible high cost of server software
  • Requires a dedicated server (Wally)
  • Sound quality and stream may be affected by low speed or inconsistent connections to the Internet.



































CSCI N241 Web Design: Sound and Plug-ins
8. Adding Nonstreaming Audio to HTML
  • Using a simple anchor tag (<a>)
    <a href = "audio/a song.wav">Play a song</a>



































CSCI N241 Web Design: Sound and Plug-ins
9. <Embed> tag
  • Using the <embed> tag, the browser places the plug-in controls in the flow of the text like an image
  • <embed> tag has several attributes:
    -src (which is the URL)
    - loop=true(false or number) is how many times the file will play
    - and there are more



































CSCI N241 Web Design: Sound and Plug-ins
10. Background Sound
  • Use the tag <bgsound src = "audio/a song.mid">



































CSCI N241 Web Design: Sound and Plug-ins
11. Streaming Audio
  • Plug-ins available:
    - RealAudio
    - Shockwave
    - Quicktime Audio



































CSCI N241 Web Design: Sound and Plug-ins
12. Adding Streaming Audio to HTML
  • Use <a> link or the <embed> tag
  • Some plug-ins require a special go-between file (metafile using the suffix .ram or .ra)
  • Example:
    <a href = "song.ram">Link to a song</a>



































CSCI N241 Web Design: Sound and Plug-ins
13. Reference
  • Web Design in a Nutshell by Jennifer Neiderest



































outline

Early Audio Files

Audio Today

Legal Concerns

Nonstreaming Audio

Streaming Audio

Advantages of Streaming Audio

Disadvantages of Streaming Audio

Adding Nonstreaming Audio to HTML

<Embed> tag

Background Sound

Streaming Audio

Adding Streaming Audio to HTML

Reference