Jump to content


Photo

Alert Sound


  • Please log in to reply
3 replies to this topic

#1 jayR

jayR
  • Members
  • PipPip
  • Member
  • 26 posts

Posted 17 July 2006 - 06:59 PM

Ok, so I have an AJAX application that I'm working on that needs to have an "alert sound" played when the current information changes so that the user notices it.  I'm not exactly sure what I should go with here, so I'm looking for suggestions from people that have done similar things in the past.  Any input/advice would be greatly appreciated.  Thanks.

#2 ChaosXero

ChaosXero
  • Members
  • PipPipPip
  • Advanced Member
  • 80 posts

Posted 17 July 2006 - 07:07 PM

Simple way: embed a sound file into the page and play it from the javascript.  I think, though that PHP has an \a (or similar) alert escape.  I don't know where this would play though (I think your server might just beep, and that would be no good).

I think embedding could work.

#3 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 17 July 2006 - 07:08 PM

insert a sound file in a database field.

do a cheek if the check exists play the sound file.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#4 micah1701

micah1701
  • Members
  • PipPipPip
  • Advanced Member
  • 613 posts
  • LocationEllington, CT USA

Posted 17 July 2006 - 07:09 PM

first, i'd move this to a different forum.
then I'd suggest using a visual cue, instead of (or in addition to) audio.

many people, especially those surfing from work, don't have speakers on (or attached)
"Confidence in the face of risk."




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users