Archived

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

olle55

DirectMusic or DirectSound?

Recommended Posts

Hello! I was wondering which one do you use? Or do you use both? I mean, can''t you just use dmusic for all sounds? Or would that be a preformance hit? In that case, which do i use when? Dsound for small ingame sounds and dmusic for long background music maybe? Thanks in advance!

Share this post


Link to post
Share on other sites
xaxa, dmusic supports MUCH more than just midi. wouldn''t that be pointless? who uses midi''s these days?

It supports multiple formats but the real power of it is with dynamic music. You can create instruments based on wav samples and then compose music similar to midi, only with downloadable samples so it sounds the same on all cards (midi doesn''t). You can also control feature of the music in-game like the "groove" of just maybe you just wanna kick up the tempo when mario is about to run out of time...

anyways, dmusic is best for background, but it can infact be used for all game music. I suggest splitting them up though, cause I dont think dmusic does 3d sound.

Share this post


Link to post
Share on other sites
http://www.xiph.org/ogg/vorbis/

ogg vorbis is really sweet, its a lot like mp3 without patents, completely 100% free. although i've hit a little bump with one of its functions not working, its probably my fault. ut2003 uses it, and it sounds great. its just a codec though, you'll have ot use directsound or openal to play the music

[edited by - billybob on December 26, 2002 11:51:15 PM]

Share this post


Link to post
Share on other sites