Archived

This topic is now archived and is closed to further replies.

Gf11speed

Using MP3 instead of WAV

Recommended Posts

Gf11speed    140
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 *=======================*

Share this post


Link to post
Share on other sites
Dragn    122
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).

Share this post


Link to post
Share on other sites
Kaijin    163
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

Share this post


Link to post
Share on other sites