Archived

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

RPG Hopeful

mp3 help

Recommended Posts

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