If you already have Tcl/Tk and tclmidi up and running, you only need to
read the last two paragraphs of this document.  Otherwise read on..

NOTE!  This version of tkseq is 0.98, and it relies on tclmidi 3.1e or
higher.  There is no longer any tkmidi or tclmidi binaries, but rather
the tclmidi commands are loaded into tcl/tk as a package.

What you'll need to get started:

  Tcl/Tk : available by anonymous ftp from ftp.cs.berkeley.edu.  Look 
           in /ucb/tcl, and get tcl7.5.tar.gz, tk4.1.tar.gz.

  tclmidi: Mike Durian's midi-editing extensions.  Ftp to xor.com and
           look in /pub/midi.  The latest version is 3.1e.  Tclmidi
           supports MPU-401 compatible MIDI cards under BSD, Linux and
           SVR4.  You don't need a MIDI interface to use tclmidi, however.

If you want to use the randomization stuff you'll also have to add random
number support to Tcl/tclmidi.  Get the patches in rand-3.0.0.tar.gz and 
apply them to your tclmidi sources.  These patches are available via
anonymous ftp from jagger.me.berkeley.edu -- unpack the archive and
check out the instructions in the README.  Right now they only really 
work under Linux -- at least on DEC and Sun I haven't found a replacement
for the BSD 4.3 function infnan().  Let me know if it works on your box,
and if so what you needed to change.

I'd suggest that you:
  1) get Tcl/Tk working first.
  2) get tclmidi working next.
  3) patch in rand() support to tclmidi (if you want)
  4) fire up tkseq.

Once you have tclmidi working, installation of `tkseq' is as easy as:

  1) copy the bitmaps from ./bitmaps into /usr/include/X11/bitmaps
     (or edit the script to point to wherever you keep them..)
  2) Put the tkseq script in your path, and make sure the first line
     of the script points to tkmidi (default is /usr/local/bin/tkmidi).
  3) Make sure to tell your window manager about the tkseq icon ;-) ;-)

I'm releasing this under GPL -- use it, hack on it, have fun with it.
The details are in the script..  By all means keep me posted if it
really works for you, or if you've made some groovy modifications that
we could all enjoy.  

Good luck,
Greg

p.s. Attention Linux users with sound cards emulating MPU-401 hardware!
If things are working well for you, drop me a line and let me know what
you ended up doing (i.e. with the Linux sound driver).  If you're having
problems, drop me a line as well and maybe we can straighten it out.
If you can't even load the midi module, try recompiling it without the
flag -DMODVERSIONS.. your kernel probably doesn't support it.  (That
problem should go away with 3.0.0 and the newer 1.3.x kernels..)
