A question about SBMIDI. - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QBasic (http://qbasicnews.com/newforum/forum-4.html)
+--- Forum: QB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-11.html)
+--- Thread: A question about SBMIDI. (/thread-100.html)

A question about SBMIDI. - Rokkuman - 01-28-2003

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!

A question about SBMIDI. - na_th_an - 01-28-2003

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.

A question about SBMIDI. - Hexadecimal Disaster - 01-29-2003

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: