all groups > flash (macromedia) > november 2004 >
You're in the

flash (macromedia)

group:

Background Sound Loop breaks



Background Sound Loop breaks Ben Dewey
11/22/2004 10:17:47 AM
flash (macromedia): I am trying to attach a background loop which is approximately 10s long, but
it is not a seamless loop. I tested the sound in Sound Forge and the loop
is good. Here is my code

Anyone know whats wrong?

code:
---------------------------------
backMusic = new Sound();
backMusic.attachSound("background");
backMusic.start(0, 9999);

Re: Background Sound Loop breaks tralfaz
11/22/2004 10:20:12 AM
Did you use an MP3 for the sound file? MP3s will do that. Every time
the loop restarts, the mp3 decoder has to decode the mp3 again causing
a pause in the sound. If you use a wav file for looping sounds it
will not do that. Convert your mp3 to wav and then import it. Use
only 11khz, 22khz or 44khz sample rate.
tralfaz

[quoted text, click to view]

Re: Background Sound Loop breaks Ben Dewey
11/22/2004 2:41:33 PM
Cool that worked. Thanks


[quoted text, click to view]

AddThis Social Bookmark Button