Why?
Why?
This entry was posted on Friday, October 23rd, 2009 at 8:50 am and is filed under Game Development. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.
game producer blog is proudly powered by
WordPress
Entries (RSS)
and Comments (RSS).

Wav’vles with Eggn’ogg plz. :)
OGG all the way vs. WAV
1. It’s cross-platform (maybe WAV is as well, but I’m just sayin’)
2. It’s compressed
3. You can store sound effects or background music tracks in OGG. Music in WAV format is massive
4. Every audio package I’ve ever found supported both
Well, It’s got great compression in both file size and quality
Why not mp3?
MP3 has licensing issues. Patents et all… OGG does not have that problem.
Why would anyone choose an uncompressed format?
Seems like caff is my sound format of choice these days. At work, we use ogg.
For music and big sound effects, ogg. Sometimes for small sound effects I’ve been making I leave them as wav as it’s not even worth converting them.
Although I prefer ogg’s, too, sometimes it is worthwile to stick to wav for soundeffects. Even if ogg’s are compressed – if your engine has to decompress it to play them, wav’s are loaded faster than ogg’s and are than sometimes preferrable.
Loading a file from HD take ages compare to uncompressing it in memory. Small ogg files will be loaded and uncompressed faster than the wav equivalent is loaded. If your sample is too big, you should stream it. There is no obvious reason too keep wav & ogg. Ogg wins in all areas, I’m puzzled that still 20% use wavs. My latest game have close from 900 ogg files, no way, I can afford to not compress even the tiny files.
JC
Well, for mobile devices (like the iPhone), decompressing OGG’s takes too much processor time, compared to WAV’s. So an approach would be to include ogg in the package for the small size, but uncompress them at load-time (just once) so that you can play them faster…
You can’t really ask OGG or WAV, because OGG is used for distribution and publishing, while WAV is used for raw material and editing.
Of course if someone uses WAV for distribution and publishing, he should be hanged.
MP3 is out of the question, since it kills high frequencies, making all AAA songs sound like crap. Besides, I think every single MP3 on the planet is illegal, since you should pay license fees to Frauenheimer for each self-made, listened, bought, and otherwise handled MP3. Nobody does that, so everyone is a criminal who uses MP3.
Lumooja, you’re wrong: the license is paid by whoever writes the player, encoder, decoder. it’s transparent for you as the end user.
And the original question is way too simplistic. You go and try to play OGGs on the DS while having an actual game running…
Ogg has excellent quality and compression ratio but it has way too much overhead to be useful for sound effects. I can understand ogg for music but that’s about it.