big BG Sound in flash
- Started
- Last post
- 7 Responses
- Xentic
HI!
I'm making a flash file for a school project and I have a very large Aiff file (a few minutes of music) I want to play in the background. What would be the best way to do this?
Doe anyone know a good solution?
- JazX0
All I can say is that I work with .wav files only with Flash. For some reason Flash MX compresses them the best. .aif and .wav files are very similar in their make up and similar in quality, therefore you might be talking about the same overall size of your .swf file and converting from .aif to .wav with a sound editor such as Sound Forge or Wavelab or Cool Edit even, might not help matters. I mean unless I understand you wrong and you just want to put the .aif file into the Flash project. Not even sure if Flash accepts .aif, but it should. If not then convert to .wav, it will work and compress it well. :)
- flashsplat0
Hey JazX, in flash is it better to work with .wav's or .mp3's?
- JazX0
from my experience it seems that .mp3's are fine, yet working with .wav is better. For some reason, don't ask me why, .wav's are compressed better than .mp3. Also, .wav is better clearity and overall fuller sound than .mp3. When you convert from .wav to .mp3 or whatever, you lose quality and eliminate some areas of the frequency, which in reality you still want with your sound. Blah, blah. :)
- quamb0
though in the end your compressing to mp3 anyway no?
its advised to keep all your audio uncompressed as wav/aif, then let flash do its compression thing when exporting.
though that can be annoying when previewing your movie- hence compressing to mp3 before importing your sounds can be more efficient.
as for a long audio sample in bg- not such a good idea, try and get it as a loop or something, or atleast make sure it has a preloader.
- luke0
if you wanna do loops don´t use mp´s when importing - mp´s end up with a 1 sec pause at the beginning when they´re precompressed.
for extending sounds just set it to STREAM and play with the compression in the publish settings. depends on the sound if adpcm or mp3 is your solution in the end!
- unknown0
Tutorials on using the sound object in flash mx...
- JazX0
quamb brought up a good point, your much better off using .wav and looping it. the real trick is just using a loop that runs long enough to where you cannot actually hear the looping. I do this by messing with drum patterns, etc. anyway, I guess your just trying this out or something so good luck. .mp3's do not loop well in Flash and if they do it's pure luck. ;)