Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add a sound file to your site files list?

Status
Not open for further replies.

emcinc

Programmer
Mar 24, 2001
69
US
I am trying to add sound to a web page! Does anyone know how? The book doesn't make it very clear and their instructions don't seem to work! So anyone please could you direct me to a site or give me detailed instructions on how to do this? It might be nice to if I could figure out how to copy a sound file to the site files list! Is that how you should do it? Does anyone know how to do that, Copy a sound file to the site files list? I need help so someone please give me the right directions! Thank-You!

Sincerely,
David E.
EMCinc@bigfoot.com
 
Are you wanting to have the sound file play when the site is launched or only when someone selects a link?

To add the file, FTP is the best method. Additionally, I have found in the past, and this may be outdated info., that some hosts require sound files to be saved in a particular format, i.e. .au or .wav. I think most of them now support .wav.

Lastly, which HTML editor are you using?

Steve Home: SRFlanigan@home.com
Work: Steve@regionalinternetmedia.com

DILBERT FOR PRESIDENT!
 
I meant to say, which VERSION of the editor are you using? :-s Home: SRFlanigan@home.com
Work: Steve@regionalinternetmedia.com

DILBERT FOR PRESIDENT!
 
I am not sure which html editor I am using as far as I know I don't use one Unless you are talking about Dreamweaver 4 the most current I beleive. I think though one of my main problems is I cant even get the file off the cd onto my hard drive. I swear I have done it before and followed the instructions but it won't work anymore. I beleive I have all the major sound and video recording programs but apparently don't know how to use them can you help? And yes I simply want a regular song to play continuously when a page is opened! (not a midi file or part of a song) Is this a problem? I have read so much BS and gotten so many convoluted answers. I just need the instructions on how to get a file off a cd and then put it on a page. At this point I need to be able to put it on my hard drive. And thats where I am at! Thanks for your reply! Can You help me?
 
Is it a normal CD like you put it into your CD player? Well, I think you'll want to save it as WAV and / or MP3...


...(I didn't look far, this is the first link I found when looking for "mp3 grabber" in google...) and then the best solution to put it on your page is flash - it is easily able to stream your MP3.
Alternative: use the Real Media stream - you'll have to find an .wav=>.ra (real audio) converter, the client has to have the real audio plugin (which I don't...) and then you'll just put the .ra-file on your site, add a link to an .ram-file that contains just the .ra's filename (you can create it in a text editor).
And: with the second alternative your provider has to support it...
You can also look at the <bgsound> and <embed> tags - they both allow a background sound.
Another alternative: can you code Java? You could make an applet that plays your sound file...

But a general consideration: as pretty many users already listen to some sound when they're online you should place a big red &quot;switch the sound off&quot; button somewhere. That's the first thing I personally look for when stumbling on a page that conquers my audial environment - if not the sound is really great ;-)
You also should consider the compression rate has a great impact on the sound... the tradeoff is between:
* quality
* size
Too low quality: it sounds terrible. Too big size: it won't stream (means it will interrupt from time to time) and therefore will be rather unaccepted. Be sure to test the sound (if you still want to do it ;-)) on a 56k modem at least. Maybe even a slower one.

Hope this helps...

allow thyself to be the spark that lights the fire
haslo@haslo.ch - www.haslo.ch​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top