Playing MIDI files in Ubuntu

I was taken by surprise when I found out that I could not play MIDI audio in my Ubuntu box. Apparently it has to do with your sound card. But still..!

One of the simplest methods to play a midi file in Ubuntu is to install timidity. Yeah, lovely name that. 😀

sudo apt-get install timidity timidity-interfaces-extra

You can play a midi file directly from the command timidity followed by the file name. For example,

timidity awesometune.mid

Or, if you want a GUI, you can simply type

timidity -ig

and an old-fashioned window will pop up.

Happy listening! 😀

10 responses on “Playing MIDI files in Ubuntu

  1. Harry Sufehmi

    And here’s how to make Timidity the default app for MIDI files :

    mimeopen -d your_MIDI_file.mid

    Then choose Timidity if it’s listed in the menu,
    or if not,
    choose other, then specify this path : /usr/bin/timidity

    Hope it helps, took me a while to figure it out !

Leave a Reply to Ma7ghribi Cancel reply

Your email address will not be published. Required fields are marked *