gron
asked on
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?
<bgsound src="mysound.wav" loop="3">
I would like to have a pause of 1 or 2 seconds between the loop repeats. How?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I would do that same as Max said, just add some silence to the actual file itself.
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
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
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.
ASKER
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
http://www.audiomelody.com/AudioEditors.htm
Glad to have been helpfull gron.. :)
Thanks for the Grade A.. :)
Max.
Thanks for the Grade A.. :)
Max.
Cd&