Skip to main content
GameDev.net gamedev.net
🔒 Locked

Game Music

Started by Gf11speed Apr 11, 2000 at 2:23 PM 2 replies 500+ views
Original Post
Gf11speed
Gf11speed
I was just wondering, for a game, if I wanted to enter a song, which was a wav file, of say.... 20 megs. I really don''t want to have that size file for just one song, so, how could I reduce the size of the file? Would I have to change the file format? If so, then how would I load the file into my program, because right now I''m only reading wav files from the program. Thanks for reading.
Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)
jalaine
jalaine
You could use Mods or Midis. For playing Mods there are many good libraries available in the net. I''m using Midas Digital Audio System in my project - it''s quite good, and free for Non-commercial use.

http://www.housemarque.fi/technology/midas/index.html

And there are others as well, like MikMod. About Midis, I think you can use DirectMusic to play them.

Jarkko
Sparkle
Sparkle
On the subject of sound libraries, check out FireMod.
In adittion to WAV-files and MODs, it can play MP3s (even several of them at the same time, for crossfading music etc).
It''s extremely easy to use, and it''s free for non-commercial purposes.

*Sparkle*
Gf11speed
Gf11speed
Thanks, I''ll check those out... they sound interesting. It would be nice to be able to use mp3 files, since they are small and have excellent audio quality.
Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.