This is the source for Minimidi. The code is :

makefile
note.a       assembly language code to play a note
minimidi.c   C code to read in and play MIDI file
written by G Gilbreath, Jr

midifile.h   C header file for midifile.c
midifile.c   C code for handling MIDI files
written by Tim Thompson and Michael Czeisperger with some
modifications by James Allwright

There is also a test MIDI file test.mid

The code has been compiled and linked using PCC (Personal C Compiler)
a shareware C compiler. If a different compiler is to be used, it is
likely that the assembly code routines will have to be altered as the
PCC assembler uses slightly non-standard syntax.

G Gilbreath, Jr
27th April 1998
---------------------------------------------------------------------

minimidi version 1.0
  usage :
minimidi midifile <options>
         -t <track>
         -c <channel>
         -s <semitones to transpose>
         -p <percentage of original speed> 100 = no change
         -i more information

     Minimidi
     --------
written April 1998 by G Gilbreath, Jr
using the midifilelib MIDI library.

This program plays a MIDI file through the PC's internal
speaker. The output is monophonic, so some notes may be lost.
Where two or more notes should be played simultaneously,
minimidi plays the highest pitch one. If the MIDI file is
type 1, minimidi chooses the first non-empty track to play
unless some other track has been specified with the -t option.
While a file is playing, press any key to stop it.

