Okay, obviously I am trying to output MIDI's in DOS. Could someone please tell me how? And, if possible, could you show me how to output it in non-dos related operating systems like Windows 2000? thanks.
Okay, obviously I am trying to output MIDI's in DOS. Could someone please tell me how? And, if possible, could you show me how to output it in non-dos related operating systems like Windows 2000? thanks.
The Allegro library (for the DJGPP compiler only) has decent MIDI playing capability. I downloaded source code from another site that can also play MIDI and works with any compiler, but the sound quality is unbelievably bad.
These are both DOS-based; I don't know of any Windows-based MIDI playing libraries myself.
If you want DOS, use Allegro, if you want windows, you can use the winmm32 set of API's (VERY GOOD THOUGH), or you can use DirectMusic..
Oskilian
hey procyon, where did you find that one graphics library 'with unbelievably bad sound'?
I'm pretty sure I got it from http://www.shd.cjb.net/. The information says it's for DJGPP only, though I *think* I got it to work with Borland.
In any event, by unbelievably bad sound, I mean unbelievably bad sound - instruments weren't properly synchronized, the pieces played at about half normal speed, and the quality was distorted almost beyond recognition. Maybe it will work better with your sound card, of course, but it was an abomination on mine. So I'd highly recommend that you go for DJGPP/Allegro instead.
Well I guess I have my program working. I have Windows 2k(which isn't DOS based) so I can't hear it. I'll have to test it on my other computer....hey thanks for the link