Play Midi file on Linux

If you want to play midi file on Linux, SuSE for example, you need the midi player. Amarok or some other players such as Banshee couldn’t play midi at all. I am not sure why, however I found a command-line application called “Timidity“. Once installed, you can play it by issuing this command: $ timidity file_name.midi

Here is an example running timidity to play what4.midi:

kenno@localhost:~/> timidity what4.mid
Requested buffer size 32768, fragment size 8192
ALSA pcm ‘default’ set buffer size 32768, period size 8192 bytes
Playing what4.mid
MIDI file: what4.mid
Format: 1 Tracks: 5 Divisions: 480
Track name: Track 1
Track name: Guitar 2
Track name: Track 3
Track name: Percussion
Playing time: ~26 seconds
Notes cut: 0
Notes lost totally: 0

Enjoy the midi tune!


2 thoughts on “Play Midi file on Linux

  1. Even it works but I don’t think Playing Midi file using Command Line is what thing should goes. I still hope that there might be some trick to play it in amaroK or Banshee.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s