View Full Version : [ubuntu] Midi in Ardour

May 6th, 2008, 10:52 PM
this must sound like it is coming from a noob from some of you people and this most have been my millionth problem post today but its late at night and a quick google search did not give any logical answer. the simple question is is how do i add a .midi file in ardour. no matter what i do it can only open .wav. all i want to do is to convert midi files to wav so i can add them to my movie i made in blender. please help.


May 7th, 2008, 07:41 AM
bumped back from 10th page. please answer.

May 7th, 2008, 09:36 AM
A MIDI file is not audio. You cannot open a MIDI file using an audio program. Think of MIDI as the sheet music a musician uses to play music from. Does that piece of sheet music do anything if you put it into a cd player? The sheet music (MIDI file) needs a musician to play it in order to make noise. I believe Rosegarden can read .midi files, but you still need to give it an instrument to play. Something like Zynaddsubfx or Qsynth, if you have some sound fonts, can be controlled by Rosegarden. Once you have your sheet music in front of some musicians and can get them playing what you want, then you'll need to record them, just like any other band or orchestra. THAT's where Ardour comes in.

May 7th, 2008, 09:41 AM
so i just press record in ardour when rosegarden is playing.

May 7th, 2008, 09:45 AM
Well, you'll have to send your instrument's outputs to Ardour's inputs, otherwise Ardour won't have anything to read. For that you'll probably need Jack. Have you used that before?

May 7th, 2008, 09:54 AM
nope, anyway, what is jack?


May 7th, 2008, 09:58 AM
Jack takes the output of one audio program and sends it to the input of another. See jackaudio.org (http://jackaudio.org/) for more information.

You need the realtime kernel enabled, the jackd soundserver running and then jack enabled programs, such as Rosegarden and Ardour.

May 7th, 2008, 10:00 AM
so i just stick a wire into the speacker output and the other end in the microphone input?


May 7th, 2008, 10:07 AM
Well, that's the basic idea, except it's all done in software. Imagine that every Jack-enabled program has a cable coming out of it that carries sound out and a plug that other programs can plug into where sound comes in. You decide where they plug into.

May 7th, 2008, 11:01 AM
Try this link for a step-by-step explanation:http://www.ubustu.com/globe/2007/05/29/how-to-configure-jack-in-ubuntu-studio/

May 7th, 2008, 11:10 AM
Use Hydrogen (http://www.hydrogen-music.org)

May 7th, 2008, 03:44 PM

May 11th, 2008, 03:57 PM
The advice you've gotten here seems right. The best way to get midi into ardour is via a softsynth like ZynAddSubFX hooked up with Jack. But depending on what you're trying to do, there's a quick and dirty way that doesn't involve Jacking anything together.

1. Install timidity++, a midi player.

sudo apt-get install timidity

2. Use timidity++ to convert your midi file to wav.

timidity -Ow [your_midi_file]

(The -Ow switch tells timidity to write a wav file to disc)

3. From inside Ardour, import existing audio file. (Maybe it is "import external audio file." I can't remember, but you get the idea.