Page 1 of 1

Help With Web Site Audio Rollovers

Posted: Thu Jan 06, 2005 3:09 pm
by Henrietta
I built a website for a songwriter friend of mine. At her request, when you roll the mouse over the strings you are supposed to hear strummed notes.

http://www.aliciasmusic.com/

Right now, I've got a javascript that rigs the mouse rollover to play an MP3 at the same time as it swaps images. My problem is that the audio doesn't work on all machines. And when it does work, it's really slow... so if you're too quick with the mouse you could miss it altogether!

Is there a better/more efficient way to go about this??

Thx in advance!

Re: Music Website Help

Posted: Thu Jan 06, 2005 3:19 pm
by deshead
Henrietta wrote:Is there a better/more efficient way to go about this??
Preload the sounds into an array: http://wsabstract.com/script/script2/soundlink.shtml (Or use Flash.)

Posted: Thu Jan 06, 2005 3:27 pm
by Henrietta
I'll try it! :D

Posted: Thu Jan 06, 2005 3:30 pm
by jb
Please encourage your friend to abandon this practice. People like silent Web sites.

Especially if the noise in question is just beeps and bings that happen suddenly and surprisingly just in time for the boss to walk by and discover you surfing instead of working.

This is a well-documented fact of Web design. :)

Posted: Thu Jan 06, 2005 4:15 pm
by joshw
I'm with JB. If I'm visiting a website that makes sound, I close it. I've usually got music playing on the computer as well, and a website that makes music without me asking it to is annoying.

It's a neat idea and the site looks nice, but it really ought to have the sound be off by default, and then give people the option to turn it on.

Posted: Thu Jan 06, 2005 5:02 pm
by c hack
Gotta side with JB and JW on this one. Nice job otherwise, though.

Posted: Thu Jan 06, 2005 5:06 pm
by roymond
I don't know what your friend is trying to do. However, I have visited websites devoted to middle eastern instruments and such, and when you mouse over instruments you hear a damn nice sample of what it sounds like. Now, that's cool because of the educational context.

One of them was based on the HeadSpace (Thomas Dolby's company) plug-in (which I can't remember the name of) and that worked very well.

But putting little cute sounds around is more like littering.

Posted: Thu Jan 06, 2005 5:26 pm
by Hoblit
jb wrote:Please encourage your friend to abandon this practice. People like silent Web sites.

Especially if the noise in question is just beeps and bings that happen suddenly and surprisingly just in time for the boss to walk by and discover you surfing instead of working.

This is a well-documented fact of Web design. :)
big amen here.

Posted: Thu Jan 06, 2005 5:49 pm
by Henrietta
There's this dog photography website that barks at you non-stop in a continuous loop. Definitely not good marketing. ;)

Alicia has her heart set on this audio. She was pretty disappointed when it didn't work on her computer. I do like the idea of giving people the option, though.

Posted: Fri Jan 07, 2005 12:00 am
by Poor June
i think it's pretty cool... but it would be bad for the sound if you're at work... for me it doesn't matter... it's pretty cool...
your friends music is really nice...

Posted: Fri Jan 07, 2005 7:54 am
by UnDesirable
I think the plucked guitar strings are actually pretty cool and since they only activate when you're over a link I don't find it annoying like a music loop that plays continuous while you're viewing the page.

Posted: Mon Jan 10, 2005 2:15 pm
by jack
UnDesirable wrote:I think the plucked guitar strings are actually pretty cool and since they only activate when you're over a link I don't find it annoying like a music loop that plays continuous while you're viewing the page.
i agree. i think the key point is that any music on a webpage should be something that isn't played unless initiated by the visitor INTENTIONALLY. if the rollovers are obvious that they will trigger music, thats ok, but springing music on a webpage visitor without their knowledge is the quickest way to make me leave.

Posted: Wed Jan 12, 2005 11:47 pm
by Henrietta
Okay, so far so good. I re-built the site and moved it to a new URL.

New Page:
http://www.aliciafall.com

(warning: this site may contain audio! ;) )

Posted: Thu Jan 13, 2005 8:47 am
by HeuristicsInc
i didn't hear any audio on my mozilla, if you want more feedback.
not firefox, the actual mozilla. could be their fault :)
-bill

Posted: Thu Jan 13, 2005 9:53 am
by Henrietta
Thanks for the info, Bill. Scott tested it on his Mac using Safari, and that didn't work either. Oh, well. I wonder if it only works on IE.

Posted: Thu Jan 13, 2005 10:05 am
by Mostess
Henrietta wrote:Thanks for the info, Bill. Scott tested it on his Mac using Safari, and that didn't work either. Oh, well. I wonder if it only works on IE.
I got nothing on Firefox. It works in IE (although, it's an alternate tuning :) )

Posted: Thu Jan 13, 2005 10:30 am
by Hoblit
Henrietta wrote:Thanks for the info, Bill. Scott tested it on his Mac using Safari, and that didn't work either. Oh, well. I wonder if it only works on IE.
IF that is true, still, all is not lost. You'd just have to impliment another additional script. For years developers had to add extra tags for functions to work in Netscape as well as IE. There may be a blanket script that a variety of browsers have in common that you could use. Place that script in a way as to where it would execute after it ran the IE one first. It may not work as well on those other platforms...as you will probably run into many of the same problems you had in the first place...but would at least have the back up plan in place. Besides, anyone who visits her site with any regularity would have cached the sounds anyways..therefore loading faster.

but..you probably already knew this :-)