# 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 Surveys

The custom essay service will furnish guys with the data related to pre-written essays and it’s so good that you show students your outcome about this topic.

on Viral Marketing

Very true! I noticed the small writing in the hot mail page, but never gave it much thought! N ya, the best are the social networking sites, so much easier for them!
Grand National

on Using Twitter for promotion and community

Whether we like it or not, once in our lives, we would require to carry out term papers and other written . It is easily not basic but very affecting to make a investigate about this good post. To do that, you need to read a range of articles and books, or you can just order some kind of work and then use online plagiarism made by http://www.plagiarismsearch.com and save your time like some quick help with the American Dream.

on Using Twitter for promotion and community

Useful resources:
Alarm System Reviews| Security Cameras| SEO Services| Home Security System Reviews| Security Systems| tanning beds|

on Understanding Traffic

Reading the article “Understanding Traffic” was very interesting.
It raises a few questions:
Is it recommended to use few metrics at the same time for measuring traffic? How long will it take to analyze the results of traffic in my site?
travel insurance