Re: Command-line midi player with fast forward, pause, rewind?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 27, 2009 at 11:06:51PM -0700, Ken Restivo wrote:
> I'd love to find a command-line MIDI file player that will use ALSA MIDI (not its own internal synth), and also will accept arrow keys or some other key commands on stdin to fastforward, rewind, pause, play, etc.

Maybe you can pipe the output of timidity to mplayer. If it doesn't work in a pipe you can write a shell script to write it to a temporary file then play it in mplayer. The script would look something like:

timidity -Ow $1
mplayer `basename $1 .mid`.wav
rm `basename $1 .mid`.wav

This above script will only work if the file is .mid I think though. 

Jeremiah

> 
> There seem to be a ton of MIDI players for the command line, but they all seem to not be interactive. I can't seem to figure out if ecasound can do the fast forward and rewind stuff, and I find Timidity to bewildering to contemplate.
> 
> -ken
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux