timer controlled audio loop

My html page has a audio loop as follows:

<bgsound src="mysound.wav" loop="3">

I would like to have a pause of 1 or 2 seconds between the loop repeats. How?
LVL 1
gronAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
DreamMasterConnect With a Mentor Commented:
The simplest (and as far as I know only) solution would be to edit the mysound.wav file to add 1 or 2 seconds of silence...that would do the trick...

Max.
0
 
COBOLdinosaurCommented:
no way to do it with bgsound, but it could be possible with imbed. However it would take some pretty tricky scripting that would be very unreliable.

Cd&
0
 
brunoCommented:
I would do that same as Max said, just add some silence to the actual file itself.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
pleasenospamCommented:
How about reloading the entire page, automatically, based on time?  I can't see any reason
why this couldn't be done, because we use this same trick to jump to another URL.
In this instance the process would continue indefinitely until the user went to another page.

Here are two examples with an immediate jump, but the parameter can be set to any amount of time:


http://personal.cfw.com/~write/no-no-no.html

http://personal.cfw.com/~write/unsocial.html

0
 
DreamMasterCommented:
Yes ok pleasenospam, you could do that, but you would rely on two extra factors (loading time, you wouldn't know when the music would actually start, which makes for a factor of uncertainty, then you need to know to the second how long the music lasts, and add extra seconds to that, and then the reloading of the page even takes extra time, so that would be an unreliable way of getting the extra time.
0
 
gronAuthor Commented:
Thanks all. I opted for DreamMaster's suggestion. I had not edited an audio file before, but it was easy enough with free editors available at:
http://www.audiomelody.com/AudioEditors.htm
0
 
DreamMasterCommented:
Glad to have been helpfull gron.. :)

Thanks for the Grade A.. :)

Max.
0
All Courses

From novice to tech pro — start learning today.