Sound Engine anyone?
Does anyone know where I can find a free C / C++ Direct X sound engine capable of playing .wav''s and midi''s? I''ve found the Rex engine in the links section of Gamedev, but no there''s no midi playback unless you pay $$$ and register... I''ve also found a good one called FMOD, but there''s no midi support...
thanks in advance!
Do you really need a midi library?
In Windows, you could do something like this:
mciSendString("open blah.mid type sequencer alias music", 0, 0, 0));
mciSendString("play music from 0", 0, 0, 0);
mciSendString("stop music", 0, 0, 0);
mciSendString("close music", 0, 0, 0);
In Windows, you could do something like this:
mciSendString("open blah.mid type sequencer alias music", 0, 0, 0));
mciSendString("play music from 0", 0, 0, 0);
mciSendString("stop music", 0, 0, 0);
mciSendString("close music", 0, 0, 0);
December 10, 2000 02:20 PM
Timidity does nice MIDI playing, an experimental MIDI to WAVE converter so it sounds good on "all" sound cards. It''s portable too. You just need to plunge it in to work with DirectSound...yes, that''d take more work than doing it with a complete sound engine but still...
December 10, 2000 02:33 PM
Check out the BASS engine. I think it does Mp3, wav, midi, mod, etc.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement