[LAU] Command-line midi player with fast forward, pause, rewind?

Clemens Ladisch clemens at ladisch.de
Fri Aug 28 03:15:58 EDT 2009


Ken Restivo wrote:
> I'd love to find a command-line MIDI file player that ... will accept
> arrow keys or some other key commands on stdin to fastforward, rewind,
> pause, play, etc.

Pausing would be easy, but MIDI controller changes can be sent at any
time and affect all current and following notes, so when forwarding, the
player would have to send all intermediate controller messages, and when
rewinding, it would have to replay all controller messages from the
beginning of the file.  It is possible to drop messages that are
overwritten by a later change to the same controller, but this does not
work for SysEx messages whose format isn't known.


Best regards,
Clemens



More information about the Linux-audio-user mailing list