QMIDI is a free library for QBASIC, QuickBASIC and VB-DOS. It provides an easy way to add background MIDI music to your programs.
QMIDI supports two file formats: Standard MIDI (.MID) and Microsoft RMID (.RMI). For RMID files, you need to use the included RMI2MID utility, which converts RMI files to Standard MIDI format. Other music formats (CMF, ROL, etc.) are not currently supported.