Author Topic: Any software to convert midi to mp3?  (Read 348 times)

Offline Linux-Blue

  • Sr. Member
  • ****
  • Posts: 370
  • (Formerly known as Vanguard-741)
Any software to convert midi to mp3?
« on: November 14, 2012, 01:56:44 PM »
I have tried searching in "synaptic package manage" but only received two. Tried 'TiMidity++' that says you can convert, but I see no option where that is available.

I have downloaded the classic doom music, and it actually plays on my smartphone under midi. I am not bothered by old school music. sort of grew up on it.

To have classic doom in mp3 would be best.
The most crucial thing for me, is a gap at the end of a song. I typically like a 3 second gap, but none of the songs do.

Thanks in advance
« Last Edit: November 14, 2012, 02:27:30 PM by Vanguard-741 »
Technology changes. Human nature doesn't." -me

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3729
  • God knows, i'm not an Angel!
    • Tipps und Tricks

Offline Linux-Blue

  • Sr. Member
  • ****
  • Posts: 370
  • (Formerly known as Vanguard-741)
Re: Any software to convert midi to mp3?
« Reply #2 on: November 14, 2012, 03:22:33 PM »
getting some problems:

[root@localhost doom test]# lame --preset d_adrian.mid doom1.mp3
LAME 32bits version 3.98 (http://www.mp3dev.org/)

Error: You did not enter a valid profile and/or options with --preset

Available profiles are:

   <fast>        medium
   <fast>        standard
   <fast>        extreme
                 insane
          <cbr> (ABR Mode) - The ABR Mode is implied. To use it,
                             simply specify a bitrate. For example:
                             "--preset 185" activates this
                             preset and uses 185 as an average kbps.

    Some examples:

 or "lame-actual --preset fast standard <input file> <output file>"
 or "lame-actual --preset cbr 192 <input file> <output file>"
 or "lame-actual --preset 172 <input file> <output file>"
 or "lame-actual --preset extreme <input file> <output file>"

For further information try: "lame-actual --preset help"
[root@localhost doom test]# lame-actual --preset fast standard d_adrian.mid doom1.mp3
Warning: unsupported audio format
[root@localhost doom test]#
Technology changes. Human nature doesn't." -me

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3729
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Any software to convert midi to mp3?
« Reply #3 on: November 14, 2012, 03:30:06 PM »
directly to mp3 will not go, how i can read...

Quote
hen, just run the “fluidsynth” tool, specifying the SoundFont file to use and the MIDI file to play, and adding the “-F” option to dump the output to a file:

fluidsynth -F out.wav /usr/share/sounds/sf2/FluidR3_GM.sf2 myfile.mid

If you want the result in MP3, you can transcode it using LAME:

lame --preset standard out.wav out.mp3

or in to Ogg Vorbis using oggenc:

oggenc -q 5 out.wav

First you have to generate a *.wav

Offline Linux-Blue

  • Sr. Member
  • ****
  • Posts: 370
  • (Formerly known as Vanguard-741)
Re: Any software to convert midi to mp3?
« Reply #4 on: November 14, 2012, 03:36:54 PM »
am i still missing something?

[root@localhost doom test]# fluidsynth -F doom1.wav /home/jeremybailey/doom\ test/d_adrian.mid
FluidSynth version 1.1.5
Copyright (C) 2000-2011 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of E-mu Systems, Inc.

lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
lash_init: could not connect to server 'localhost' - disabling LASH
Rendering audio to file 'doom1.wav'..
fluidsynth: warning: No preset found on channel 0 [bank=0 prog=33]
fluidsynth: warning: No preset found on channel 1 [bank=0 prog=48]
fluidsynth: warning: No preset found on channel 2 [bank=0 prog=45]
fluidsynth: warning: No preset found on channel 3 [bank=0 prog=45]
fluidsynth: warning: No preset found on channel 9 [bank=128 prog=0]
[root@localhost doom test]#
Technology changes. Human nature doesn't." -me

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3729
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Any software to convert midi to mp3?
« Reply #5 on: November 14, 2012, 04:01:49 PM »
why not using audacity?
There is an import function for midi...

Offline Linux-Blue

  • Sr. Member
  • ****
  • Posts: 370
  • (Formerly known as Vanguard-741)
Re: Any software to convert midi to mp3?
« Reply #6 on: November 14, 2012, 04:55:48 PM »
export is grayed out.

It looks like I've tried Audacity before with no luck.

I imported the song, at least I think I have. But it won't play. I can't save or export it as a .WAV
Technology changes. Human nature doesn't." -me

Offline old_guy

  • Hero Member
  • *****
  • Posts: 706
Re: Any software to convert midi to mp3?
« Reply #7 on: November 14, 2012, 05:48:01 PM »
Vanguard-741

If you have timidity and lame installed - open a terminal and type:
timidity -Ow -o - input.mid | lame - output.mp3

or goto:

http://solmire.com

Earl
« Last Edit: November 14, 2012, 05:50:01 PM by old_guy »
Never too old to learn.

Online gandy

  • Hero Member
  • *****
  • Posts: 1171
Re: Any software to convert midi to mp3?
« Reply #8 on: November 14, 2012, 06:32:53 PM »
This site works for many file types. http://www.online-convert.com/
For me, it is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring. –
Carl Sagan

Offline Linux-Blue

  • Sr. Member
  • ****
  • Posts: 370
  • (Formerly known as Vanguard-741)
Re: Any software to convert midi to mp3?
« Reply #9 on: November 14, 2012, 06:56:14 PM »
thanks. both sites will serve its purpose, one way or another.

It's a slow process, but it's nice to get these in MP3 format. thanks!
Technology changes. Human nature doesn't." -me