Playing mp3 files in Mac OS X
Hi there, i'm developing a commercial application and, like many, don't have the $1000+ for the big commercial mp3 playing tools.
I need some way of playing an mp3 file in my project. Any way, as long as it works.
I've searched around these forums and haven't found anything.
Most linux/freebsd source compiles in Mac OS X(it uses gcc3), so maybe a linux solution work work as well.
I can't seem to find anything that will do what i need!
It doesn't matter if you program is free...
According the link provided by filler_bunny, it doesn't matter if your game is free. You don't have to pay anything if you distribute less than 5000 copies. More than 5000 copies, and you have to pay $2500.
If the game client was totally free to download
Of course, you'll need the rights to the music too!
Perhaps you can find an open source alternative to MP3 (?) There is a list of audio file formats at www.wotsit.org. Since you are controlling both ends (compression and decompression), you don't have to be concerned with compatability. If you can use MIDI (no vocals or "recorded sounds"), it's way more efficient.
An open source alternative to MP3:
The open-source alternative to MP3 seems to be Ogg vorbis. Of course, they aren't going to be compatible formats, but they are both designed for the same purpose: Audio compression suitable for streaming.
I didn't know that Ogg vorbis was open-source, or that you had to pay for MP3. But, a little surfing seems to confirm filler_bunny's assertion... You DO have to PAY for MP3!!!