z0r Forums
Gapless MP3 playback - Printable Version

+- z0r Forums (https://board.z0r.de)
+-- Forum: English (https://board.z0r.de/forumdisplay.php?fid=3)
+--- Forum: Flash (https://board.z0r.de/forumdisplay.php?fid=8)
+--- Thread: Gapless MP3 playback (/showthread.php?tid=2998)



Gapless MP3 playback - hajdulak - 22-01-2013

Hello!
I'm quite new in flash, and most of teh stuff I know comes from tutorials all over the net.
One of the major issues is true gapless MP3 playback.
I've created a loop in FL Studio and cut the remainder (to loop properly)
Imported to library, attached to frame, sync to Start, loop
Even though, the playback isn't really truly gapless, i.e. the little gap is audible.
Is there anything else I could do about it?
The MP3 loops OK on newgrounds audio portal Confused


RE: Gapless MP3 playback - falmi - 18-03-2013

I want to know this too...
I guess it depends on the program which u use to make the flash file


RE: Gapless MP3 playback - Jointi - 18-03-2013

convert your mp3 to wave


RE: Gapless MP3 playback - Nar - 15-07-2013

as falmi wrote it depends largely on which program you are using to create the swf-file.
With Adobe Flash it works like this:

open the mp3 in Audacity and zoom in closely to the beginning and end, and look if there really isn't any gap (if not, just delete the silent parts). Then export it as a .wav (you can probably do all that in FL Studio as well).

Import that new .wav-file into Flash and in the properties window of the wav-file set the compression to mp3 (this step is optional, but it greatly reduces the filesize, which is always a plus).
If you import it a mp3-file directly without converting it to .wav first it doesn't loop completely gapless for some reason.