Hour 15. Playing MIDI Music


Hour 15. Playing MIDI Music

Jaws is probably my favorite movie of all time, and few people who have seen the movie will ever forget the nerve -racking music used to communicate that the shark was about to strike. This is just one example of how simple music was able to establish a very specific mood. Video games are capable of using music in the same way. In fact, seeing as how movies are generally capable of being more expressive visually, it becomes more important for games to take advantage of music as a means of reinforcing a mood or enhancing the reality of a virtual environment. MIDI music is one of the best ways to incorporate music into games , and this hour shows you exactly how to play MIDI music with a relatively small amount of code.

In this hour, you'll learn:

  • About the Media Control Interface (MCI) and how it relates to MIDI music

  • How to use the MCI to play MIDI music

  • How to add MIDI music to a game



Sams Teach Yourself Game Programming in 24 Hours
Sams Teach Yourself Game Programming in 24 Hours
ISBN: 067232461X
EAN: 2147483647
Year: 2002
Pages: 271

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net