• Advertisement

Archived

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

game music

This topic is 5454 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

how would i implement game music? is there a way to open up an mp3 or is there other processing involved? "Only two things are infinite, the universe and human stupidity, and I''m not sure about the former." - Albert Einstein (1879-1955) That is so very true...

Share this post


Link to post
Share on other sites
Advertisement
Try FMOD (www.fmod.org)
Very easy sound API to use.

[edited by - tuita on March 15, 2003 11:03:57 PM]

Share this post


Link to post
Share on other sites
why not? I havent tried FMOD..is it good?

"Those who follow the path of the warrior must be ready to die, to stand for their convictions, live for one´s convictions, die for one´s convictions"

Share this post


Link to post
Share on other sites
FMOD is damn good. It's very cross-platform too (includes support for things as varied as PS2 and XBox, IIRC).

To play an MP3 with FMOD (function call by function call):

Init FMOD
Load the MP3 file
Play the MP3 file
Shutdown FMOD

Yes, that's 4 calls to play an MP3.

DirectShow is one of the more painful systems you could ever hope to use - I'd avoid it unless you're playing movies (in which case, it's that or VfW).

Superpig
- saving pigs from untimely fates, and when he's not doing that, runs The Binary Refinery.

[edited by - Superpig on March 16, 2003 10:32:09 AM]

Share this post


Link to post
Share on other sites

  • Advertisement