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

Ken Restivo ken at restivo.org
Fri Aug 28 09:38:52 EDT 2009

On Fri, Aug 28, 2009 at 09:15:58AM +0200, Clemens Ladisch wrote:
> 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.

Hmm. How do programs like Rosegarden do it then? I've never had trouble seeking in RG, for example, or looping or any of that.

If I can't find a command-line tool, then of course I'll end up using RG, which is fine, but I'd rather find a non-gooey way to do it if possible.


More information about the Linux-audio-user mailing list