• Advertisement

Archived

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

Background Music

This topic is 6554 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So far I have a Multimedia Timer controlling my sprites 100 times a second, but my game has no sound, and I dont want to use the same timer, as this would probably interrupt the gameplay due to sound buffer loading. I would like to implement a second multimedia timer to play around 10 wave samples in a sequence to create the background music (much like MOD). Is it safe to implement two Multimedia Timers? Is each system limited to how many multimedia timers u can have running at once? My second choice is DirectMusic,.. Is anyone using DirectMusic? How do u create tracks? What is it, a mod player type system or just a fancy midi player?

Share this post


Link to post
Share on other sites
Advertisement
DMusic is a MIDI player, and it''s really not all that fancy. I found it extremely easy to use. I have a freeware MIDI player that uses my DMusic wrapper up on my www.knightsvalorous.com domain if you''re curious.

You can also use MCI MIDI commands, which use hardware instead of software emulation that DMusic uses, and also is very easy.

-fel

Share this post


Link to post
Share on other sites
DirectMusic (is what I know of) just a really fancy MIDI player with alot of flexibility, and I gues it''s good at...eh...playing MIDI files. But if you want to play music with better quality than that, you should look at DirectSound streaming buffers.

============================
Daniel Netz, Sentinel Design

"I'm not stupid, I'm from Sweden" - Unknown

Share this post


Link to post
Share on other sites
Hi!

I just want to say that DMusic has an advantage over mci command strings: In some sound cards - like the one I own - the mcicommands won''t work at all and in others it will produce a really bad sound quality.. with DMusic you can have a roland-like midi player in any sound card..

Laters!

Share this post


Link to post
Share on other sites
OK, but I dont wanna use instruments, i wanna Amiga like system where u use actual samples.

What would be phenominal would be..
1) load a standard midi file.
2) Load around 16 wav files to replace each instrument used.
3) play it.

I dunno if DirectMusic is capable of SoundFonts, but if it is, if the Sound Card doesnt have WaveTable, does DirectMusic emulate it in Software?

Share this post


Link to post
Share on other sites
DirectMusic always uses software emulation. It emulates on the Roland patches I believe, which are very nice.

Yes, you can load sound fonts using DirectMusic. Read about it for a while, it''s a very powerful tool.

-fel

Share this post


Link to post
Share on other sites

  • Advertisement