                Midi command table
8n      k       v       Note off.  (Nobody uses this any more)
9n      k       v       Note on.  v=0 means note off.
An      k       v       Polyphonic After-touch.
Bn      01      v       Modulation bender.
Bn      05      v       Portamento time, 0-99
Bn      06      v       Master tune, 0-7f
Bn      21      v       Modulation bender extra precision.
Bn      40      v       Sustain pedal, on or off.
Bn      41      v       Portamento, on or off.
Bn      7A      v       Local control. v=0 means off, v=7f means on.
Bn      7B      00      All notes off.
Bn      7C      00      Omni mode off, all notes off.
Bn      7D      00      Omni mode on, all notes off.
Bn      7E      v       Mono mode on (poly mode off), all notes off.
Bn      7F      00      Poly mode on (Mono mode off), all notes off.
Cn      v               Voice change.
Dn      v               Channel After-touch.
En      lsb     msb     Pitch bend change.
F0      id      ...     System exclusive message.
F1                      -undefined-
F2      lsb     msb     Song position pointer. (Num of midi beats).
F3      v               Song select (track?).
F4                      -undefined-
F5                      -undefined-
F6                      Oscillator tune request (analog synths).
F7                      End of system exclusive message.
F8                      Timing clock, 6 per beat.
F9                      -undefined-
FA                      Start.
FB                      Continue.
FC                      Stop.
FD                      -undefined-
FE                      Active sensing. (Wake up call).
FF                      System reset.
        System exclusive messages for Casio CZ-1

F0 44 00 00 7n 10 pp 7n 31 F7  Download a program  (patch).
    returns:   F0 44 00 00 7n 30 <256. bytes> F7
F0 44 00 00 7n 11 pp 7n 31 F7  Download a patch with name.
    returns:   F0 44 00 00 7n 30 <288 bytes> F7
            The extra 32 bytes contain the name in ASCII (after
                you combine the nibbles in the usuall way).
f0 44 00 00 7n 12 oo 7n 31 F7  Download an operational memory, oo=op number.
    returns:   FO 44 00 00 7n 30 <50. bytes> F7
            Format of the 50 bytes unknown as of yet.
F0 44 00 00 7n 19 00 7n 31 F7  Ask about programmer, not implimented on CZ-1.
    returns:   F0 44 00 00 7n 30 pp 000vp0000 F7  pp=program selected,
                                v=vibrato on/off, p=portomento on/off
F0 44 00 00 7n 20 pp      Upload a program (patch).
    returns:   F0 44 00 00 7n 30
    then send: <256 bytes> F7
    returns:   F7
F0 44 00 00 7n 21 pp      Upload a patch with name.
    returns:   F0 44 00 00 7n 30
    then send: <288 bytes> F7
    returns:   F7
F0 44 00 00 7n 22 oo      Upload an operaional memory.
    returns:   F0 44 00 00 7n 30
    then send: <50. bytes> F7
    returns:   F7
F0 44 00 00 7n 40 v F7    Set bend range
F0 44 00 00 7n 41 v F7    Key transpose, 7 bit signed number, middle c=0
F0 44 00 00 7n 42 v F7    Tone mix, not implimented on CZ1, see 4D below.
F0 44 00 00 7n 43 v F7    Set glide note.
F0 44 00 00 7n 44 v F7    Set glide time.
F0 44 00 00 7n 45 v F7    Mod wheel depth.
F0 44 00 00 7n 46 v F7    Level? Cant' see it work.
F0 44 00 00 7n 47 v F7    Glide on/off.  v=40 for on! doesn't work with 4F
F0 44 00 00 7n 48 v F7    Portamento sweep time.
F0 44 00 00 7n 49 v F7    Modulation on/off.
F0 44 00 00 7n 4A v F7    Modulation after-touch depth.
F0 44 00 00 7n 4B v F7    Amplitude after-touch range.
F0 44 00 00 7n 4C v F7    Cartrige button on/off.
F0 44 00 00 7n 4D v F7    CZ-1 mode, 0=normal, 20=tone mix, 40=key split
F0 44 00 00 7n 4E v F7    Cursor, used to change fields in mode screens.
F0 44 00 00 7n 4F v F7    Page, used to change windows in mode screens.
F0 44 00 00 7n 50 v F7    Multi channel mode on/off.
F0 44 00 00 7n 51 v F7    Poly value, muse be in correct Multi field/window.
F0 44 00 00 7n 52 v F7    Tone 2 pitch? Can't find where it works.
F0 44 00 00 7n 53 v F7    Split point, Must cursor to split point first.
F0 44 00 00 7n 54 v F7    Sustain pedal ENA/DIS, but page/cursor first.
F0 44 00 00 7n 55 v F7    Octant shift, page/cursor first.
F0 44 00 00 7n 56 v F7    Chorus on/off, page/cursor first.
F0 44 00 00 7n 57 v F7    Time break? Can't find this one.
F0 44 00 00 7n 58 v F7    Key code sweep? Can't find this one.
                                   