Convert Midi to MP3 in Ubuntu

To convert a Midi File to Mp3 in Ubuntu, the easiest method I found (on ubuntuforums) uses the power of timidity:

 

sudo apt-get install timidity

to convert to mp3 either use ffmpeg

timidity My_midi_file.mid -Ow -o - | ffmpeg -i - -acodec libmp3lame -ab 64k my_converted_midi.mp3

or use lame

timidity my_midi_file.mid -Ow -o - | lame - -b 64 my_converted_midi.mp3

 

 

blog_tags: 

Add new comment

Filtered HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <img> <br> <p> <span>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Use [collapse] and [/collapse] to create collapsible text blocks. [collapse collapsed] or [collapsed] will start with the block closed.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Code snippets in <code>...</code> or <source>...</source> automatically will be pretty printed.
  • Use [collapse] and [/collapse] to create collapsible text blocks. [collapse collapsed] or [collapsed] will start with the block closed.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Target Image