I think it will help to simplify reading and writing,
Mostly don't need to make any special distinction
between midi and midish. After converting midish_ to midi_,
we are passing tests.
The command names midi-mode-on and midi-mode-off
are confusing. Maybe midi-command-on and -off,
or midi-only-on, midi-only-off.
midi-mode-off-ready-to-record
ugh, how about 'play-midi' and 'rec-midi'
I'm looking at how midi starts: play if a 'p' is in
$mode->{midish_transport_sync}, or record if 'r'.
The ideal way would be if Nama monitored all the midi
tracks. So then you'd need to create midi tracks through
Nama, which would add it's own track object.
The rec status of the tracks would determine whether
the r or p is issued, and the recording track would
be made the current track prior to r.
Looks like midish can record only one track at a time.
Cheers
--
Joel Roth