How do I play MIDI files in QBASIC?

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
koosh_alex
Newbie
Posts: 2
Joined: Tue Jun 06, 2006 5:48 pm

How do I play MIDI files in QBASIC?

Post by koosh_alex »

I need help on how to play midi files in qbasic. I have gotten 1 program 2 work but its HUGE!! I need a program that'll play midi files and is under 125 lines! Any sugestions?!


EDIT: Topic changed by Z!re
Do not use "HELP!!" as a topic again.
User avatar
ShadowWolf
Veteran
Posts: 56
Joined: Thu Mar 04, 2004 1:32 pm
Contact:

Post by ShadowWolf »

good luck with that. see midi out of QB has always been a real bitch. you best but would be DS4QB 1,2, or ++ it use a slave program to run your sound files and music files for you and commucates with QB via a swap file or some other tricks like the clipboard.

should be able to find DS4QB in pete's archive somewhere

but really if you want easy then just use freebasic and Fmod or Bass Lib's
its like 30 lines of code to get something playing.
Post Reply