PDA

View Full Version : how to read MP3 file?



05-07-2002, 04:15 AM
Sorry to disturb you here but some of you program video games so could you give me a link or a program that can read mp3 files or convert them into wav? I want to program a video game with music, I use Visual C++.Thank you!!

MPech
05-07-2002, 05:00 AM
FMOD rocks under Linux and Windows http://www.fmod.org/

You can also try Xaudio : http://www.xaudio.com/

nexusone
05-07-2002, 05:23 AM
WAV files take up too much hard disk space, just use sound library that has MP3 support.
That way you do not have to do any conversion of your MP3, also get cool sound effects for your game with these libraries.

Library like BASS and FMOD have MP3 support!!!


Originally posted by MP3 player:
Sorry to disturb you here but some of you program video games so could you give me a link or a program that can read mp3 files or convert them into wav? I want to program a video game with music, I use Visual C++.Thank you!!

05-13-2002, 03:25 AM
Originally posted by MPech:
FMOD rocks under Linux and Windows http://www.fmod.org/

You can also try Xaudio : http://www.xaudio.com/

Thank you very much! That is exactly what I was looking for. Thank you. http://www.opengl.org/discussion_boards/ubb/smile.gif

mvidalinc
05-13-2002, 07:06 PM
just have a look on my function to play mp3 or wav files --> void musique(), it works well

the prog : http://m.vidalinc.free.fr/opengl/main_prog.cpp

the page : http://www.mathieuvidalinc.com/opengl/opengl.htm


[This message has been edited by mvidalinc (edited 05-13-2002).]

nukem
05-13-2002, 07:48 PM
Ff its only for windows goto www.planetsourcecode.com (http://www.planetsourcecode.com) and look up NuclearMedia. I made it it will play almost any type of media file. I use Linux now but if you have any questions contact me(the info is in the source)