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
Sequence:
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!

About these ads

2 thoughts on “Play Midi file on Linux

  1. soben says:

    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.

  2. kenno says:

    Well, let me know if you found that out. :-) I like playing midi files with timidity.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: