Posted: . At: 3:09 PM. This was 10 years ago. Post ID: 6996
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.

How to convert a midi file to Ogg or FLAC with Timidity.

This is how to use Timidity to convert a MIDI file into an Ogg Vorbis audio file. This is very useful for playing them with Banshee or Audacious.

[homer@localhost Documents]$ timidity sound009.mid -Ov -o blood009.ogg
Playing sound009.mid
MIDI file: sound009.mid
Format: 1  Tracks: 10  Divisions: 480
Sequence: Seq-1
Track name: Track-5
Track name: Track-7
Track name: Track-1
Track name: Track-2
Track name: Track-3
Track name: Track-4
Track name: Track-6
Track name: Track-8
Track name: Track-9
Tone bank 4 is undefined
Tone bank 56 is undefined
Playing time: ~231 seconds
Notes cut: 0
Notes lost totally: 0

This is how to convert to a FLAC file, this is another good option for converting a MIDI file to listen with a music player.

[homer@localhost Documents]$ timidity sound009.mid -OF -o blood009.flac
Playing sound009.mid
MIDI file: sound009.mid
Format: 1  Tracks: 10  Divisions: 480
Sequence: Seq-1
Track name: Track-5
Track name: Track-7
Track name: Track-1
Track name: Track-2
Track name: Track-3
Track name: Track-4
Track name: Track-6
Track name: Track-8
Track name: Track-9
Tone bank 4 is undefined
Tone bank 56 is undefined
Playing time: ~231 seconds
Notes cut: 0
Notes lost totally: 0
Wrote 14136559/40409644 bytes(34.9831% compressed)

Timidity uses sound fonts to play midi files. They can be replaced with better ones to improve the playback of midi files. But I really like this ability. Converting midi files into Ogg and FLAC is very useful.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.