# 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

    Be the first to comment on this page. You must register before you can leave a comment.


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.3 / 5

discuss this topic

Post a comment

on Choosing Blog Software

Hi,

The plugin I am using does NOT translate the posts, I think the best thing is to do the translations by human power. The plugin enables the user to choose which language to view the blog in, after the translations are done.
r4

on Digital Cameras

The Canon E18 problem was associated with the older “A” series of cameras (A60, A70, etc). That camera has a fragile lens motor gearbox.
And it is one camera you should not take to the beach, because it was easy for sand to get into the gearbox.The gearbox has been redesigned and the problem apparently resolved.
Preventative measures are mostly just common sense.Don’t drop the camera and handle it with normal care.

on Choosing a Web Host

This is certainly great advise as we were all enticed by these kinds of specs when we first started blogging. Then you hit the front page of Digg and wonder why your site went down almost instantly. The bottom line is, it’s virtually impossible to even come CLOSE to hitting those specs without crashing your server (on a shared plan). As you mentioned, you end up sharing space with hundreds of others and end up with a SLOW loading blog.

on Why Traffic Matters

What the tel cos can gain first is a much better take rate. Given that the value of a network is proportional to the square of the customers this is not a little gain. Then should they end up offering “real” BB instead of the bogus one that they are smuggling for BB, meaning symmetrical connections starting at leat at 10 Mbit/sec, with applications that will require it they can get more money from customers than they do today.

on Choosing a Web Host

Wordpress has become the most popular used platform in its category. A recent search i conducted on Alexa.com found wordpress.com to be number 22 in there top 500 most visited websites “globally”.

Wordpress not only can be used to build a blog but people are also using it to develop websites, because it is so easy to update.

Regards,
Richard