Using MP3 instead of WAV

Started by
3 comments, last by Gf11speed 22 years, 3 months ago
If I used MP3 files in my game instead of WAV files for sounds, voices, and music in the game, would this be more efficient? I would think that since MP3 files are smaller than WAV, there is no need to use WAV files at all. Is this smart or no? Thanks Greg *====================* http://www.syntasoft.com *=======================*
Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)
Advertisement
Mp3''s are more efficient in terms of file space used--and only that. Waves are more efficient in every other way.

You have to remember that mp3''s are compressed audio.
So, it''ll take up more cpu cycles to process mp3 than to play wave files.

Here''s my suggestion:
Use wave for "noises".
Use mp3 for background music (the cpu cycle loss is hardly even noticable anymore on modern 1Ghz+ machines).

In terms of file space, definately. But there would probably be some overhead from the decoding of the MP3 file so using it for all your sound files might affect performance.

It would probably be better to use MP3 for large sound files (like background music) and wave files for sound effects (which will be pretty small anyway).

- Kaijin
Looks like Dragn beat me too it.

- Kaijin
Ok I see. Thanks, I appreciate it.

*====================*
http://www.syntasoft.com
*=======================*
Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)

This topic is closed to new replies.

Advertisement