go

You can also Search this page using the form below. Your question may have been addressed in a previous class.
Search For:
Match:  Any word All words Exact phrase
Sound-alike matching
Within: 
Show:   results   summaries
Sort by: 



Q. ...where it says BGSOUND SRC="music.mid" what information do we need for the music mid bit.
A. You need to download a midi file from the web into your HTML folder. Use the resources in the lesson or use a Search Engine for a specific song.

In your code for sound -- you enter the name of the song -- be sure to copy it exactly and don't have any spaces in it. Following the name is .mid if it is a midi file or .wav if it is a wav file.

Example -- if your song is Amazing Grace -- you would rename it as one word and insert it in your code as follows: "amazingrace.mid" --- don't forget to enclose it in quotes.


Q. I've never downloaded a sound file before and I think, no I know I did something wrong. I downloaded my sound file to my html file as bwv975.html and then uploaded it to my geocities cite. I put it on notebook4.html and all I get is a page of code, no sound
A. The normal extensions for sounds are .wav and .mid

Delete bwv975.html

Go back and resave them and when you do the file name should already be filled in in the Save File Name. You can change the name BUT leave the extension the same.


Q. Sound problems - having a heck of a time putting in my sounds. I've put in the tag right before</BODY> in my script. <A HREF="foggymt.MIDI">Click here for a tune</A>
A.  Change "foggymt.MIDI" to "foggymt.mid" -- Be sure you make the change in your html code and in the file that you upload to your server. Also be sure your .mid file is in the same directory as your HTML file.


Q. If your browser has no designated sound plugin or software and you veiw source on a web page with a sound file, is that part of the code invisible to the browser?
A.  You would still be able to View Source and see the tags that make sound.


Q. Can someone tell me why netscape will not play my ".mid" file. Explorer is playing real good.

<EMBED="foreverkennyg.mid"
WIDTH="200" HEIGHT="80"
AUTOSTART="true">
</BODY>
</HTML>
A.  You need to include SRC= after EMBED and it should play fine in Netscape.

<EMBED SRC="foreverkennyg.mid" WIDTH="200" HEIGHT="80" AUTOSTART="true">


Q. I have not been able to get embeded music to work on IE 5 The console shows up but it is inactive. I've tried all the examples on the lesson an none of them works. They do work in the off line mode. any suggestions? Here is the last code I tried. It works in IE5 off line but not on the web.
<center> <embed src="aint_Misbehavin'.mid"width="200"height="80" autostart="false">

<noembed>
<bgsound src="aint_Misbehavin'.mid">
</noembed>
A.  Make sure you scoot over a space from the ending quote of your midi filename before you have your width. The way you have coded this you must first click on the console to turn on the music. Please post your url so others can see if it works for them or possibly might spot something on the rest of the page that could be affecting it. Are you sure that the case of the .mid file in your coding aint_Misbehavin'.mid exactly matches what you have uploaded to the server. Sometimes filenames with upper case letters in them get translated to all lower case so that might possibly be why you are not hearing it on the web.


Q. I may have missed it someplace but where is a good source for music that I can use on my site?
A.  I wasn't sure where to find music either so I did a search on dogpile.com and came up with: www.rushhohol.com/software/freemidi.html which listed several sites for getting free midi's. I chose www.plantez.net and they have a page which tells you exactly what to put in your code to give them credit for the midi.

A.  Anne's World has a great list of sound resources. http://www.wwnet.net/~ahartman/sound.html


Q. Sound script errors
A. 
<EMBED SRC="mnriver.mid" HIDDEN="TRUE" AUTOSTART="TRUE" loop="TRUE">
<NO EMBED>
<BGSOUND SRC="skaters.MIDI Sequence" LOOP=infinite>
</NO EMBED>
</BODY>
</HTML>

by placing it at the bottom of the page is doesn't slow down the loading of everything else so much, and yes it has to be on each page you want the music on, unless your using frames in which case it you could put it in a frame that wasn't going to be changed like say a banner frame, and it would play on all pages : )

no you don't need a graphic for the counsole, the sizing is just instructions for the player that is on you puter, the console comes with the player : )

A.  Read the information by Belov on coding music so that it will work in most browsers. Then do it the same way on each where you have music.
http://www.cabelov.com/midi/midixbbm.shtml

You also need to put <NOEMBED></NOEMBED> around your BGSOUND code.
<NOEMBED>
<BGSOUND SRC="mnriver.mid" loop="infinite" AUTOSTART=true>
</NOEMBED>

I would also put the two codes closer together so you can easily keep track and find the coding when you want to make changes in the midi file or the attributes you choose. There appears to be an extra bgsound at the bottom of your web page after you have added the EMBED SRC too.

While Zonie said you can specify the number of loops, some versions of browsers have trouble with that and the music does not work the way you intended. The reason for using the NOEMBED is that IE now also recognizes and uses EMBED SCR besides the BGSOUND that is IE specific. You do not want to get browsers confused by conflicting options.

A.  The console that you see is the plug-in that is the one your browser is set up to use when you add the width and height. The coding itself is what allows the console to be seen in most browsers. Someone visiting with a different browser and a different plug-in might see something else. You do not upload a graphic for it. The reason I am such such a stickler on not having music play automatically as a personal choice is that for a long time I had cheap speakers that had no controls to set the volume or even turn them off. I would have to go into my setup and turn volume down which was a pain.


Q: I've just added sound to my web page and can't quit figure out why it won't play.

A: From looking at Belov's list with the width and height needed for different plug-ins, the karaoke is the largest with a width of 280 and height of 180. Windows Media Player is not listed.

In IE 5, your width of 200 and height of 100 (which is what your code reads for me right now) the Windows Media Player works just fine for me too. The main thing is you want the buttons to show and it appears that the top part which is the logo is shown in proportion. My default player for Netscape 4.61 is different so it shows some extra space around the console; mainly you want to make the area big enough so that it does not cause problems for others and works fine for you too. Someone else using IE might have downloaded and installed a different plug-in and made it the default, like crescendo which needs a width of 200 and a height of 50.

What can really create havoc is when people try to make the size so small that just the button area of their console shows, forgetting that others need a much larger area for their plug-ins to work.


Q: Why do I get a prompt box before my music console will appear asking the viewer if he wants to open or save to disc?

A: Seems to be specific to IE browsers and not Netscape. Must be so that people can save the sound file if they prefer rather.

go top