
May 31st, 2004
06:00 AM
Neverside Newbie
Status: Offline!
bgsound loop glitches
Im trying to make background music for a website im doing for a school project. www.waveartists.com/dart
Heres how i do it. The main site consists of 2 frames; a 0 pixel high frame at the top, in which contains the bgsound element with no initialized file property. and then the main frame which contains the actual site.
Then i use javascripts to manipulate and load songs into the top frame so that the music continues while users navigate the side thru the links.
The issue is: im looping the background themes, but when a song comes to an end, there is a small glitch in the sound before it continues on next iteration in the loop. (the loop property is set to infinity)
Is there any way to fix this? i tried embedding the sound with <embed> tag, but same glitch appeared.
(i use mp3 files, so it might be the rebuffering of the tune that might the problem !!??)
Any help appreciated. The important thing is that i can control the property of the player with a javascript.
___________________
waveartists.com - design shop
devnet.waveartists.comDesign & Programming community
Current Projects: ChaosOps mod (HalfLife2)
Last edited by IceCube, May 31st, 2004 06:02 AM (Edited 1 times)

May 31st, 2004
07:50 PM
Neverside Newbie
Status: Offline!
*bump*
anyone?
___________________
waveartists.com - design shop
devnet.waveartists.comDesign & Programming community
Current Projects: ChaosOps mod (HalfLife2)

June 1st, 2004
07:53 AM
I tested some stuff on my site, and remembered your post...
Yeah, I think there's a slight pause before it loops over again if you use <bgsound>. My suggestion is to use flash.

June 2nd, 2004
08:05 PM
Neverside Newbie
Status: Offline!
well then i wont have control over the sequence by javascript though
___________________
waveartists.com - design shop
devnet.waveartists.comDesign & Programming community
Current Projects: ChaosOps mod (HalfLife2)

June 3rd, 2004
12:39 AM
Neverside Newbie
Status: Offline!
mp3s will always have a pause before/after the track no matter what you do (burn, loop). Convert it to wave and loop the wav

June 6th, 2004
11:29 PM
Neverside Newbie
Status: Offline!
ouch.. well i did that, and turns out the size is 3 doubled. do anyone know of good compression methods?
the mp3 weighed in at about 284kb whereas the wave was 787.
errr.. help?
___________________
waveartists.com - design shop
devnet.waveartists.comDesign & Programming community
Current Projects: ChaosOps mod (HalfLife2)
Last edited by IceCube, June 6th, 2004 11:35 PM (Edited 1 times)

June 7th, 2004
12:28 AM
Site Reviewer
Status: Offline!
Use flash. Use actionscript, can do same things as javascript for what you need.
___________________
-meh

June 7th, 2004
04:01 AM
if the glitch is in the mp3 file, wouldnt actionscript produce the same result?
___________________
how do you weigh human life?

June 7th, 2004
04:27 AM
Hmm... Maybe
I tried .wavs and it still pauses at the end. (I'm 90% sure)