# Present It! Audio

Delivering Audio Online

Upload audio files in the same way you upload any other file using an FTP (file transfer protocol) program. You may find it useful to create a folder on your Web server to store all audio files. This keeps your media organized on the server.

Standalone Audio Files

Stand-alone audio files — those that must be downloaded completely before being played — can be linked to on any HTML page, much as you create a link to another Web page or to a PDF or other file.

Creating a link to the audio file looks like this:

<a href="http://www.j-learning.org/audio/myaudio.wav">Click here to listen.</a>

Depending on the browser, clicking on this link either causes the browser to download the file or open the file within the browser window and play it.

You can also embed an audio file into a page. This can be used to insert a background audio track to a page or simply to give the audio a physical presence on the page.

To embed an audio file, use the following code:

<embed src="myaudio.wav">

Possible HTML attributes are:

Attribute Value Explanation/Comments
src Name of file
pluginspage URL to plug-in page
hidden True Only use when actually hiding file.
autostart True/false True plays the file after it is loaded.
loop True/false
volume 1-100 Sets the volume for the file
align Right/left/top/bottom Wrap text, etc.
height In pixels should be multiples of 16
width In pixels
hspace In pixels
vspace In pixels

“Pluginspage" is an unusual attribute. When the user encounters your embedded audio but doesn’t have the appropriate plug-in to play it, the "pluginspage" attribute provides a quick and easy way to direct the user to the appropriate plug-in source.

Most browsers now have built-in support for playback of embedded sound files.

Streaming Audio Files

Streamed files are a bit more complicated to implement and generally involve:

  • Having a streaming server or access to one through your Web hosting provider. Prices vary considerably.
  • Encoding your files using that streaming technology's particular codec. (A codec is a device that converts analog audio or video signals to digital so they can be transmitted, then converts them back to analog once received so they can be heard or seen.)
  • Ensuring that your listeners have or can download the player for the streaming file.

All streaming encoded files can be served using what is called "HTTP streaming." Don't buy Web hosting thinking that this is anything amazing — HTTP streaming is simply what happens when you use a normal Internet connection to download an encoded streaming file. Still, it's a viable option for your streaming content if you can't afford streaming software. Playback will still occur before the entire file downloads, but the download will be slow.

To HTTP stream, create your content, encode it in the streaming format you want to deliver, and link to it as you would any other Web page or file.

To purchase Real streaming server software and get information about encoding files into the Real format, visit http://www.realnetworks.com. To download the Real player, visit http://www.real.com.

To purchase Windows Media streaming server software, download the player, and learn about encoding files, visit http://www.microsoft.com/windows/windowsmedia/default.aspx.

To purchase the QuickTime streaming server software, download the QuickTime player and learn about creating QuickTime content, visit http://www.apple.com/quicktime/.

Each of these formats can also be used to stream video files.

> READ NEXT ARTICLE: How to Shoot Video for the Web

 

recent comments

  • Great tutorials smile thanks..

    Posted by big_turk  on  09/13  at  02:40 PM

post a comment

You must be registered (free) in order to post a comment.

 

More on This Topic

Evaluate This Page

How useful was this article?
(5 is extremely useful)

rate this a 1 rate this a 2 rate this a 3 rate this a 4 rate this a 5

Others have rated
this article: 6.4 / 5

discuss this topic

Post a comment

on Advertising Your Site

After you create a site that job ended. Instead, you realize that you have nothing and you must again start working. Sites are like living organisms grow and gain popularity over time depending on what you do for him. It’s like a child to be raised with great care. If you give too much food is overweight.
Work is continuing and uninterrupted if you want to get results.
Masini from vand miere naturala

on RSS Feeds

Buy or sell timeshare with Bay Tree Solutions; browse timeshare resales; timeshares for sale and rent by owner; Learn about buying or selling timeshare on the resale market and how to Sell My Timeshare!

on RSS Feeds

Thanks for the great article. I really enjoyed it.

STD Testing
STD Test

on Maintaining Ethics and Standards

The iPad helped facilitate the wedding of Aaron and Katie, as it made its rounds to the priest Blue Wedding Dress and then the bride and groom. Not only did the bride, Katie, read her vows to her soon-to-be husband, Aaron, from the iPad, While the couple’s wedding was held outdoors, a gazebo provided shade to help make reading easier; the iPad’s glass screen and the sunlight usually don’t make a good combination for readability.Offbeat Bride reports on creative wedding ideas; Aaron and Katie’s iPad-enabled nuptials Bodice Wedding Dresses certainly qualify.If you plan on using your iPad in your wedding, you might as well plan your wedding using an iPad. You can use 100 Wedding Tips and the Wedding Guests app, which aims to help you make a final Bolero Wedding Dress decision on who to invite to your wedding and who to cut from the list.

on Legal Issues for Online Publishers

Your article is extremely impressive. I never considered that it was feasible to accomplish something like that until after I looked over your post. You certainly gave a great perception on exactly how this whole process works. I will make sure to return for more advice. Thanks

College Term Papers