Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loading a midi file

Status
Not open for further replies.

SykoStokkrTim

Programmer
Jul 19, 2002
20
US
I tried searching for threads on this, but the search must not be working..I'm writing a simple rpg type game, and pc speaker just doesn't cut it anymore. Does anyone know how to load a midi file into a program, or even better, play midi music from speakers and not have to carry around all of the .mid files for the game? Any help would be very helpful.
 
I want this to be a one file thing, e.g. I don't want external .mid files with it.
 
The only way that I think that you could do that, would be to turn the midi file into text form, and copy it into your program. As soon as the program started, have it copy the text into a file and have a midi code play the file. That would be very messy though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top