Qbasicnews.com

Full Version: A question about SBMIDI.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This might be a lazy question to ask, and I'm sure I could figure it out myself, but I got my DOS sound to work, and I was wondering, if I use SBMIDI and SBSOUND(I think that's what it's called) how do I get them to play sounds, are there other libs involved, because if I can get this to work, there just might be voice samples in Cobra, and I think that would just be cool!
SBMIDI and SBSIM just install an interrupt you can use to communicate with a TSR which plays midi files. In order to do that, you must know how to use these interrupts (&H80 and &H81). Then comes QMidi. QMidi is just a library of SUBs and FUNCTIONs which provide a easy interface to communicate with SBMIDI TSR.

In sum: You need QMidi to use SBMIDI to play MIDIs. No digital sound here. You could also look for info about SBMIDI and code your own routines, but I'd suggest you to use QMIDI Wink.
Maybe Megaman is talking about these WAV/VOC command-line players found in the SoundBlaster directory, too. Using these things is a big no-no, (lacks versatility, same problem as loading TSRs inside QB) and that kind of proggies only work on SoundBlaster cards, not even SB-compatibles.

If you talked about SBMIDI / SBSIM couple, well, Nathan already answered you. :wink: