Site hosted by Angelfire.com: Build your free website today!



SOUNDS OF THE WEB

By: LAIR






So here we are. Late in the afternoon..out in the car. Top down, hot sun glaring down and a nice, sweet smelling breeze blowing our hair into total disaray. And the music! Blasting from all the speakers, rocking even the houses we pass as we drive down the street! Perfect days and warm, love filled summer nights...

And NOW you want to bring that feeling into your emails and webpages!!! But you wonder how?? Well, have a seat in the car, strap on a seatbelt and we will learn together......



Basic Sound




Clickable Sound



The basic code for getting sound on your page is just like this:


<Embed src="URL OF SONG">


Now. If you want to have your sound play on its own and make the speaker disappear, you have to TELL it what to do....like this:


<Embed src="URL OF SONG" autostart="true" loop"-1">


( The "Loop" feature tells your code how many times you want the song to play....) Now, wasnt that easy??


***Just a Lair Opinion Note.....You have two types of music to put in your pages....Real Audio, and Midi's. The LAIR has found that while Real Audio is great to listen to, when used with images your page can become so heavy it will not load properly. Or it might take "forever" to load. We strongly suggest the Midi type of music...it is lighter and will allow you more freedom with your images.....



So....Now you know how to make music appear in your pages. Do you wonder how we can make it....... S T O P ?
Just like this:


<form method="post" action="URL.wav">
<input type="submit" value="Stop Music" width="120" text="TEXT COLOR HERE" borderimage="file://rom/borders/buttonborder2.bif">
</form>







(**Note: This particular button will not stop the music you hear on this page, because I have it set to play for the AudioScopes..)




Audio Scope




Still in the mood for playing with sound? Why not try out your Basic Audioscope? Just to see what an Audioscope is type this:


<audioscope>





Now, shouldn't we design this cool toy to fit the page it is placed on? You can custom design your audioscope any way that you want:


<audiioscope bgcolor="black" height="30" width="400">





What if we wanted to spice up our scope with a little color? And while we are here, lets add a space between the lines....You use your Rightoffset and Leftoffset for that..and remember to mirror your numbers...one positive and one negative.......
Like this:


<Audioscope bgcolor="black" height="50" width="200" leftcolor="gold" rightcolor="darkgreen" leftoffset="8" rightoffset="-8">






Maxlevel is the line on the top that shows you the music peak, and gain controls how your scope Reacts to the music....You can have a negative or a positive gain or a gain of 0. Now lets add those and then decorate it by giving it a border...


<Audioscope bgcolor="black" height="50" width="200" leftcolor="gold" rightcolor="darkgreen" leftoffset="8" rightoffset="-8" gain="7" maxlevel="true" border="12">






Now we have learned how to do a basic Audioscope! Now that you have the basics down you can use them to build all kinds of Cool Images for your pages.....or just as decorations and bars. And as a finishing touch, you might want to frame the whole thing to match your page...like this:


<center> <table border="8" bgcolor="purple"><tr><td align="center"> <Audioscope bgcolor="black" height="50" width="200" leftcolor="gold" rightcolor="darkgreen" leftoffset="8" rightoffset="-8" gain="7" maxlevel="true" border="4">
</td></tr></table> </center>








Thank you for visiting the Lair Sounds page! I hope you had a great time and LEARNED something along the way .......Good luck with your codes, and if you run into problems that you do not find the answer to here........you are welcome to Mail Me. I will be more than glad to help if I can. Good Sounds to all!



LAIR








PEARLS OF WISDOM


HTML Basics Part One


HTML Basics Part Two:
The Art of Copy



LAIR Index