Jump to content
  • Advertisement

Archived

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

RPG Hopeful

mp3 help

This topic is 6624 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

Advertisement
Me too! I''ve been developing some MP3 player software. But it would be nice to see someone else''s implementation, espacially using DirectSound!
Thanks,
Ben

P.S. For those others developing take a look at "www.wotsit.org" You can get a complete description of the MP3 file format you''ve just got to write the code!

Share this post


Link to post
Share on other sites
Hey people,

I''m pretty sure there''s some code at www.wotsit.org from those lovely chaps at the Fraunhofer (phooey to the spelling) Institute... its all Greek to me, though.

That''s... handy work

Yes, I''m cracking up... time for my medication

-------------
squirrels are a remarkable source of protein...

Share this post


Link to post
Share on other sites
Don''t completely discount .WAVs. .MP3s are considerably more complex, to the point where you''ll notice the CPU time lost to decode them. Decoding them as you load them instead of as you play them is kind of pointless, because you''ll be using the same amount of memory anyway. And have you ever though about streaming a .WAV, instead of loading it completely off the disk?

Share this post


Link to post
Share on other sites
Yeah, that''s what I''m doing know, streaming that is. But I''d like to offer users the option of playing MP3''s instead of the supplied music.

It would be a decode at load type player. So it really wouldn''t be any different in terms of required memory to operate just the load time. Which is not that big of a deal.
But thanks anyways,
Ben

Share this post


Link to post
Share on other sites
You could create MP3 RIFF-WAVs for your own sound files if you want compression. The file is technically a MP3, but with a WAV extension and is interperted as if it was in WAV format I think.

However, you mentioned you wanted to allow users to play their own music so I don''t think this is the solution you were looking for...

Share this post


Link to post
Share on other sites
You should use FMOD. It is easy to use and it can play mp3 stream and mp3 samples.

http://www.fmod.org/


-Hans

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!