Re: Background sound tag

by "Susan Vollmer" <susanvollmer(at)hotmail.com>

 Date:  Sun, 28 May 2000 17:02:44 CDT
 To:  iam2wish4(at)hotmail.com,
hwg-basics(at)mail.hwg.org
  todo: View Thread, Original
Here is some information for you on sound files.  It's up to you and the 
client, but I would recommend that you give the user the option of playing 
the sound file instead of automatically loading and playing.  The reason for 
this is because if the user is at work and is viewing a site that is not 
work related; you've just given the person away with the music.  The 
individual will leave your site in a hurry.  Anyway, here is information on 
both -- giving the user the option and coding it to play automatically as a 
background file.


The  most  common  format  is  �au�  which  works  with  the  majority  of  
platforms  and  is  fast  to  download.  �Wav�  files  normally  only  work  
with  Microsoft  windows,  and  �aiff�  files  work  only  with  Macintosh.  
For  a  listener  to  play  an  audio  file,  the  user  must  have  a  
sound  card,  speakers  and  audio  software,  like  Real  Audio,  which  
can  be  downloaded  from  the  internet.  Real  Audio  files  are  smaller  
than  �au�  or  �wav�  files,  and  these  files  can  start  playing  as  
they  are  being  downloaded  by  the  server  instead  of  waiting  for  
the  download  to  finish.


External  sound  file
As  a  courtesy  when  using  sound  files,  include  the  size  of  the  
file  for  the  user.  Below  are  examples  of  external  sound  files  
which  give  the  user  the  option  to  click  on  the  link  if  the  user 
  wants  to  hear  the  sound.

<a  href = �soundfilename.au�>	    Name  of  sound  &  size  (250k)</a>

Example:
<p> Listen  to  the  music  of  <i>My  Favorite  Group </i>	</p>
<blockquote>
<a href = "favorite.au">  Insert Name Of Sound here  (250k � au format) </a> 
  	</blockquote>


Embedded  sound  file
Below  is  an  example  of  an  embedded  sound  file.  To  use  an  
embedded  object,  the  user�s  browser  needs  access  to  plug  ins.

<embed  src=url	width=value	height=value    autostart=�true�>

<blockquote>
<p>Listen  to  the  music  of  <i>My  Favorite  Group </i></p>
<embed src="favorite.wav"	width=145	height=80><br>
</blockquote>

The  height  and  width  properties  refer  to  the  size  of  the  plug  in 
  which  allow  the  user  to  change  the  controls  such  as  volume,  
stop  or  replay.  Autostart=�true�  enables  the  sound  to  start  playing 
  as  the  page  loads.


Background  sound

When  sound  is  placed  in  the  background,  the  user  does  not  receive 
  a  plug  in  to  help  control  the  sound.  Unless  there  is  a  volume  
knob  on  the  speakers  or  computer  hardware,  the  user  cannot  lower  
or  increase  the  sound.  The  loop  property  allows  you  to  place  a  
number  value  (1,  2,  etc.)  for  how  many  times  it  will  play  or  
use  infinite  to  play  continuously.

	<bgsound  src=url			loop=value>

	<bgsound  src=�favorite.au�		loop=infinite>


** And finally, make sure the sound file is royalty-free or in the public 
domain so that you and / or the customer is not violating any copyright 
laws.

Regards,

Susan V.


>From: "Kat" <iam2wish4(at)hotmail.com>
>To: <hwg-basics(at)mail.hwg.org>
>Subject: Background sound tag
>Date: Sat, 27 May 2000 20:20:23 -0700
>
>
>   Hi all, Kat again... and stumped again.  <sigh>
>
>I'm doing a very simple site, and have been requested to have a midi file
>play when the site is loaded.... but I can't for the life of me remember 
>the
>dang tag for the background sound perk!  (I only need it to loop once; I
>don't think that people want it played over and over and over and over....
><G>)
>
>Can someone refresh my weak short-term memory?
>
>TIA,
>~~KAT~~
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA