Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Randomly play wave file
11-15-2010, 11:49 PM #1
- Join Date
- Jan 2009
- Bristol, England
- Thanked 0 Times in 0 Posts
Randomly play wave file
I really need your help and didn't know who else to turn to.
The plan: to load my web page and hear a random drum beat that loops continuously.
I need it to be compatible with most, if not all Internet browsers (Chrome, Internet Explorer, Firefox and Opera are crucial) and to state what sound file is playing on the page (allowing me to identify the looping drum beat/sound file), and if possible to provide a link to the actual sound file for download.
I've tried endlessly trying to find code to build upon but have failed miserably, I would appreciate any code submissions as it would help me out massively.
It's a lot to ask I know, but it would be so very appreciated.
I've also got a quick question, how would I prevent Google Chrome from putting a pause after each sound loop? Of course, being drum beats; I require it to loop in sync and it appears only Google Chrome puts a 1 second period after each play.
Please help, I am so stuck.
Anyway guys, thanks for reading!
11-16-2010, 12:03 AM #2
Answered in other thread.An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.