Results 1 to 12 of 12
  1. #1
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Web audio for beginners

    I am looking for some very basic advice to get me started with embedding recordings into a web site. I am not experienced at web design, but I have been asked to put together a simple web site for a choir.

    I want to include some recordings of the choir singing, ideally having them start to sing as you visit the home page.

    I can get a recording into my computer as a WAV file but I am not sure where to go from there. I have no experience of manipulating or editing audio files, and no suitable tools, and I don't want to spend any money on tools if I can avoid it.

    Simple experimentation shows that anything longer than about 30 seconds, with sound quality above the bare minimum, is going to involve files that are MBytes in size and take a very long time to download over a dial up line.

    Can anyone suggest suitable formats, tools, quality levels, methods of embedding the files etc.?

    StuartR

  2. #2
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Web audio for beginners

    Boy, I shouldn't be jumping in here Stuart, since I'm a real amateur about web design and coding! But I once wanted to include a musical tributed to my sister in a web page and used the code you can see in this link. I first did it with a MID file but didn't like that at all, so I used (at the time) Real Audio - RA and it worked OK also. It still works with the recent editions of RealOne free player and the song you'll hear is the Three Suns, about a 2.5 minute song in less than 300K file.

    http://www.alhoffman.org/peg_sound.html

  3. #3
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Web audio for beginners

    The simplest way to get a sound to start on entering a site is to add the bgsound tag in the header. You can get the sound to play multiple times - for example:
    <head>
    <bgsound src="dogbark1.wav" loop="4">
    </head>
    Download the attached to your web root folder and you should get the dog barking four times.

    One thing I would stress is that the larger the sound file, the longer the download time, leading to a period of silence before it starts. Maybe you could get a quick 5 second choir intro which sounds good as a loop?

    Somewhere I have buried a load of links which I can't locate right now - these two should give you a leg up (but you may wish to have your speaker volume down when visiting them <img src=/S/grin.gif border=0 alt=grin width=15 height=15> ).

    http://www.htmlcodetutorial.com/embe...ts/_EMBED.html
    http://www.bgsound.com/
    Attached Files Attached Files

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Web audio for beginners

    Thanks to both of you for the information so far.

    The other area where I need help is how to take my 37MByte WAV files and reduce them to something that I can realistically expect people to download.

    StuartR

  5. #5
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Web audio for beginners

    What, typically, do you expect your viewers to be connecting with? It is going to be a combination of connection speed, patience and desired quality. Converting your 37MB wav to mp3 will take it roughly down to 3-4MB, but I think you could compress them to a smaller file if you can accept a drop in quality.

    If your vistitor has ADSL, on a good day they will easily download a 3MB MP3 in under a minute (about 3-4 minutes playing time), but with a cranky 56K connection on a bad day that could take 15-20 minutes!

    WyllyWylly is the man to best advise you on compression methods - you may pick up some background info in this thread, albeit it the reverse of what you may want to achieve!

  6. #6
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Web audio for beginners

    Hi Stuart,

    I have had great success using QuickTime format. I've found that it's very widely compatible for most web users (especially those on the Mac side). Some PC users may grumble about having to download a plug-in, but it's really not a big issue.

    The biggest benefit of QuickTime (other than the small size of its sound and video files) is the fact that it simulates streaming audio - it does not need to wait until the entire file is downloaded to begin playing. This will really benefit your dial-up users.

    I have a couple of thoughts you should keep in mind when using this. First, you'll need to purchase a license for one copy of QT so you can create the files. It costs $30 US. You can do that from http://www.apple.com/quicktime. Also, you'll probably want to create two separate files for each clip you want to offer - one at high quality and one at low. This will make broadband and dial-up users quite happy.

    For an example of this, you can see a site I built a while back: Meridian Song Project (you'll see the "Sounds" section at the bottom of the page).

    Hope this helps!

  7. #7
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Web audio for beginners

    Thanks to everyone for the helpful advice and links - I think I now have enough to get me going.

    StuartR

  8. #8
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Web audio for beginners

    Also make sure you give the visitor the option to turn OFF the music. Some people will not stay long and may not come back.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  9. #9
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Web audio for beginners

    Dave,

    My inexperience in this area becomes obvious when I admit that I had missed that one.

    I'm now trying Embed with Autostart, because this gives a set of controls to the user, but I don't like having to specify a width and height for an unknown controller at the users end.

    StuartR

  10. #10
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Web audio for beginners

    AND, for those of us who want to see how you did, it would be swell if you would post the link back here so we can check out the choir, if that's permissible.....

  11. #11
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Web audio for beginners

    It'll be a few weeks yet. This is a kids choir and they have to retake all the photos to ensure they have parental permission.

    StuartR

  12. #12
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Web audio for beginners

    Usually, hitting Escape will kill any background music (and animated .gif's).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •