Sup3rkirby
08-14-2007, 03:33 PM
What would the best way to play a sound be for a webpage.
I am making a game and want to add sound effects. Since it is a sound effect, it needs to be played back quickly, possibly with a simple function call?
I want to say I've seen something before where you can play back .wav sounds with a function call... anyone know anything about that?
I don't want to use <embed> or <bgsound>. This is not what I am looking for. I need to play the sound quickly, reloading the sound within tenths of a second.
I am making a game and want to add sound effects. Since it is a sound effect, it needs to be played back quickly, possibly with a simple function call?
I want to say I've seen something before where you can play back .wav sounds with a function call... anyone know anything about that?
I don't want to use <embed> or <bgsound>. This is not what I am looking for. I need to play the sound quickly, reloading the sound within tenths of a second.