Monday, July 13, 2009

MIDI to QBASIC Converter


So I started working on a little patch that takes real-time monophonic MIDI data and outputs a .BAS file that is compatible with QBASIC. Currently, it makes use of the PLAY command, and generates rhythm, octave and pitch data as well as converting MIDI CC 1 to the MUSIC TYPE parameter (MUSIC NORMAL, MUSIC STACCATO and MUSIC LEGATO).

8 comments:

damian said...

Dude, QBASIC was my introduction to music technology and music generally!!! I love that program!

Rei Yano said...

WOAH.

10k said...

This is fantastic.

nitro2k01 said...

A little tip... You can put several notes on the same line. If you put one bar per line, remove the spaces from each note and separate each note by a space, the ode will be easier to read.

Sebastian Tomczak said...

@ nitro2k01: I know, I know :) But I'm lazy!

damian said...

Also if you get sick of octaves and note names, n# should work where # is the midi note number. I can write you some visuals to go with the music if you like! I made some for our year 7 disco, with little students continuously moving into a school and big writting up the top, and a small copywrite notice "made by Damosoft" :D [my software company]

Anonymous said...

I may be stupid, but I can't find the download link - where is it?

DamianWorf said...

Hi, first of all, your blog is very good! ... I'm looking for information about a program I saw on your blog, to convert MIDI files to QBASIC. What you got?, Could you finish?, Would have possibility to send it to me please? (it is very necessary for a test I'm doing), Thanks! damian.worf@gmail.com