January 21, 2022, 11:26:19 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
   Home   Help Search Login Register  
Pages: [1]
Author Topic: A question about SBMIDI.  (Read 4042 times)
Posts: 1973

« on: January 28, 2003, 12:22:37 AM »

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!
Posts: 8244

« Reply #1 on: January 28, 2003, 12:01:32 PM »

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.

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
Hexadecimal Disaster
Been there, done that
Posts: 1123

« Reply #2 on: January 28, 2003, 04:10:33 PM »

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:

Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!