MIDI Laboratory
MIDI stands for Musical Instrument Digital Interface. MIDI enables
synthesizers, sequencers, home computers, rhythm machines, etc.to
be interconnected through a standard interface.
Windows' MediaPlayer can play MIDI files, and it enables non-musicians to
make music by manipulate MIDI files. Here we will show you how to produce
MIDI files under F# programming system.
You can download songs in .mid format to replace the ring tone in your cell
phone. Clip buttons on the left column to make your selection.
Compile and Decompile MIDI Files
All source and exe files are in F#MIDI.ZIP
MIDIcompiler.fex loads one of these FORTH source files:
AMB.F To produce musette.mid (J.S. Bach)
CANAN1.F To produce canan1.mid
CANAN268.F To produce canan268.mid
Select the one you want by commenting out the other FLOAD commands.
MIDIdecoder.fex reads midi.mid files and decompiles the MIDI codes into
the midi.f file. This midi.f is in a form that can be compiled back
into a playable MIDI file by MIDIcompiler.
Numeric Notation to MIDI Conversion
Shiao Ming is a plain farm girl from Central China. She quit school at 7th
grade because her family was poor. She became a prolific gospel song
writer and produced more than 1000 beautiful hymns. Her hymns were
published as "Canaan Hymns" in the very simple Numeric Notation prevailing
in China.
The goal of this project is to convert all her hymns to MIDI files so that
congregations can sing these hymns with accompaniment, as pianos and
pianists are still rare species in rural China.
Your are cordially invited to join this project and contribute in digitizing her
hymns to avail them to people both inside and outside of China.
All code and examples are in CanaanHymns.zip
Your are cordially invited to join this project and contribute in digitizing her
hymns to avail them to people both inside and outside of China. If you can
read Chinese, see this file for instructions.
Digitize Canaan Hymns
MIDI Laboratory