Advertisement

FLASH - Audio File Compatibility

Started by November 10, 2009 04:28 PM
2 comments, last by nsmadsen 15 years ago
Greetings, I'm looking to see if someone could inform me of any issues with Flash/Actionscript in regards to audio file formats. Are there any specific file formats as well as bit-depth/sampling rate that do not work? I'm working on a game that requires heavily compressed audio and I want to make sure that there will not be any playback issues. Thanks for your help, George
George Hufnagl
Music & Sound Design
SoundsLikeGeorge.Com
I've always been asked to do: 128k MP3 either stereo or mono (depending on the situation).

The audio engine will need to account for the bookends of silence the MP3 codec puts in, but that is completely do-able.

Thanks,

Nate

Nathan Madsen
Nate (AT) MadsenStudios (DOT) Com
Composer-Sound Designer
Madsen Studios
Austin, TX

Advertisement
Nathan,

About the silent padding for mp3's: how do you work around this issue when music is to be looped? Is there an amicable solution or file that will sub will in its place? How about AAC files?

Thanks for the assistance :)

-George
George Hufnagl
Music & Sound Design
SoundsLikeGeorge.Com
Removing the bookends of silence would make the MP3 file loop-able. Without removing that bit of silence, you'll have a gap during playback. There are options out there to help with this:

Quote: In order to remove MP3 silence, you will need a special MP3 encoder to remove those frames. Download the mp3loop utility here: http://www.compuphase.com/mp3/mp3loops.htm. This command line tool works in conjunction with LAME MP3 to remove the unwanted frames, so you will need to also build yourself the LAME MP3 library (or find a binary somewhere). You can get the latest source code for that project here: http://sourceforge.net/projects/lame/files/lame/3.98.2/lame-398-2.tar.gz/download. If you're unfamiliar with LAME (shame on you!), it is considered the best free and open source MP3 encoder out there. You can build LAME in VC++ and you shouldn't have any problems compiling it with VS 2008 as everything you need is bundled in that archive (see: lame-398-2.tar.gz/lame-398-2/vc_solution/ folder for Visual Studio solutions).


taken from http://forums.silverlight.net/forums/t/120472.aspx

I've seen many other solutions and several pro teams that I have worked with have solved this issue.

Regarding AAC: it's going to be a bit larger than MP3 so it also depends on the size budget you have to stick with.

Thanks!

Nate

Nathan Madsen
Nate (AT) MadsenStudios (DOT) Com
Composer-Sound Designer
Madsen Studios
Austin, TX

This topic is closed to new replies.

Advertisement