Advertisement

Midi

Started by July 15, 2003 06:39 PM
3 comments, last by fried_chicken 21 years, 7 months ago
How do you load and play a midi? Appearently it doesnt work with the PlaySound() function.
When your on a battlefield, dont throw a grenade. Throw a bannana instead. While the opposing side is pondering the meaning of this, blast their heads off with the nearest available weapon.
You can utilize Fmod to play it.
Advertisement
no, play sound plays wave data files, not midi. you need to use either DirectMusic or a number of other midi playing libraries.

My Homepage
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
midi can also be done using MCI.

basically using mciSendString(...);

Dunno the midi-comment by heart, but i know this works (from my 2D directx engine)

void PlayCD(){	mciSendString("play cdaudio", "", 0, 0);} 


Just look it up
I wasnt sure what Fmod was until I searched the net. Im gonna use it for my program. Thanks for the help!
When your on a battlefield, dont throw a grenade. Throw a bannana instead. While the opposing side is pondering the meaning of this, blast their heads off with the nearest available weapon.

This topic is closed to new replies.

Advertisement