Difference between revisions of "Midi"

From Audacity Wiki
Jump to: navigation, search
(popular query, so needs more text.)
 
(expand text and links to MIDI programs and conversion tools)
Line 1: Line 1:
Midi is a music file format widely used for keyboard instruments. It records the actual key presses, their strength and duration. It is an extremely compact way of storing audio.  There is more information in the [http://en.wikipedia.org/wiki/Midi Wikipedias article on Midi]
+
{{Intro|[http://en.wikipedia.org/wiki/Midi MIDI] is a compact, notes-based file format widely used for keyboard instruments. It stores ''how to play'' the music - which MIDI keys are pressed, and their strength and duration. It is not an audio file format like [[WAV]] that stores the full sound of the notes actually being played. Currently, Audacity only has limited support for MIDI.|}}
  
=Midi and Audacity=
 
  
Experimental versions of Audacity have some basic Midi support, but it is not yet (as of end September 2007) available in mainstream Audacity.  We do not currently have developers working on it.  There are alternative and excellent Open Source tools for midi sound.  One such is [[Rosegarden]].
+
==MIDI and Audacity==
 +
Released versions of Audacity can only import MIDI files to view them. Audacity cannot record MIDI input, only audio input.  
  
Converting from Midi to other formats such as wav is fairly straightforward, though the quality of the conversion may depend on the library of musical instrument notes. Converting in the other direction is an extremely challenging research problem. We'd be very interested in helping a developer who has made progress with such software in helping it reach a wider audience through Audacity.
+
Development versions of Audacity are slowly adding support for cut and paste MIDI editing and MIDI export, but it is not yet available in mainstream Audacity.
 +
 
 +
If you want to edit MIDI files in Audacity, you will have to record or convert them to a [http://www.audacityteam.org/manual/index.php?title=Digital_Audio sampled audio format] such as [[WAV]]. WAV is the recommended format to use because it is lossless and won't significantly degrade with editing. You can export to a format with smaller file size, such as [[MP3]], after editing. 
 +
 
 +
 +
== Converting from MIDI to audio formats==
 +
MIDI files can be converted to audio formats either by recording them as they play, or by converting them with another application. Conversion to sampled audio does not retain any of the notation information in the MIDI file, but becomes in essence a recording of that file. How that recording sounds depends on the soundfont or General MIDI banks that are used.
 +
 
 +
On '''Windows''' or '''Linux''', depending on your sound card, you can record the MIDI into Audacity in real time simply by playing it on your computer, for example on Windows Media Player. On '''OS X''' you need to use a third-party program recording application such as [http://www.cycling74.com/products/soundflower Soundflower]. For more help, see our [http://audacity.sourceforge.net/help/faq?s=recording&i=streaming FAQ on recording streaming audio].
 +
 
 +
As an alternative, Timidity will convert the MIDI in faster than real time. There is a [http://timidity.s11.xrea.com/index.en.html#down Windows installer], or you can compile Timidity from [http://timidity.sourceforge.net source code].  
 +
 
 +
 
 +
== Converting from audio formats to MIDI ==
 +
 
 +
Converting in the other direction is a challenging research problem requiring software that can detect the pitch of the notes being played. At present, only single melodic lines can be converted with any degree of accuracy. We'd be very interested in helping a developer who has made progress with such software in helping it reach a wider audience through Audacity. Meantime, here are a few programs you could try:
 +
 
 +
* [http://sourceforge.net/projects/wavetomidi/ WavetoMidi]  (Cross-platform, Open Source)
 +
* [http://www.mp3towav.org/TS-AudioToMIDI/ AudiotoMidi] (Windows)
 +
* [http://www.intelliscore.net/product.html Intelliscore Polyphonic] (Windows)
 +
* [http://www.digital-ear.com/digital-ear/index.asp Digital Ear] (Windows)
 +
* [http://www.pluto.dti.ne.jp/~araki/amazingmidi/ AmazingMIDI] (Windows) ''free''
 +
* [http://www.widisoft.com/english/mp3-midi-products.html WidiSoft] (Windows, OS X)
 +
* [http://www.mp3towav.org/mp3-to-midi.asp Other shareware programs]
 +
 
 +
 
 +
== Programs for working with MIDI ==
 +
 
 +
There are many excellent programs for recording and/or editing MIDI files. Many will display the MIDI notes on a musical staff. Here are some recommendations:
 +
 
 +
* [http://musescore.org/ Musescore] (Cross-platform, Open Source)
 +
* [http://www.anvilstudio.com/ Anvil Studio] (Windows) ''free''
 +
* [http://www.mutools.com/products.html MU.LAB] (Windows and OS X) ''free''
 +
* [http://www.myriad-online.com/en/products/melody.htm Melody Assistant] (Windows and OS X)
 +
* [http://www.finalenotepad.com/ Finale Notepad] (Windows and OS X) ''free''
 +
* [http://www.rosegardenmusic.com/ Rosegarden] (Linux) ''free''
 +
* [http://anthem.sourceforge.net/ Anthem] (Linux, Open Source, requires KDE)
 +
* [http://www.freebyte.com/music/#free_notation Other free Windows/Linux programs]

Revision as of 20:06, 11 September 2008

MIDI is a compact, notes-based file format widely used for keyboard instruments. It stores how to play the music - which MIDI keys are pressed, and their strength and duration. It is not an audio file format like WAV that stores the full sound of the notes actually being played. Currently, Audacity only has limited support for MIDI.


MIDI and Audacity

Released versions of Audacity can only import MIDI files to view them. Audacity cannot record MIDI input, only audio input.

Development versions of Audacity are slowly adding support for cut and paste MIDI editing and MIDI export, but it is not yet available in mainstream Audacity.

If you want to edit MIDI files in Audacity, you will have to record or convert them to a sampled audio format such as WAV. WAV is the recommended format to use because it is lossless and won't significantly degrade with editing. You can export to a format with smaller file size, such as MP3, after editing.


Converting from MIDI to audio formats

MIDI files can be converted to audio formats either by recording them as they play, or by converting them with another application. Conversion to sampled audio does not retain any of the notation information in the MIDI file, but becomes in essence a recording of that file. How that recording sounds depends on the soundfont or General MIDI banks that are used.

On Windows or Linux, depending on your sound card, you can record the MIDI into Audacity in real time simply by playing it on your computer, for example on Windows Media Player. On OS X you need to use a third-party program recording application such as Soundflower. For more help, see our FAQ on recording streaming audio.

As an alternative, Timidity will convert the MIDI in faster than real time. There is a Windows installer, or you can compile Timidity from source code.


Converting from audio formats to MIDI

Converting in the other direction is a challenging research problem requiring software that can detect the pitch of the notes being played. At present, only single melodic lines can be converted with any degree of accuracy. We'd be very interested in helping a developer who has made progress with such software in helping it reach a wider audience through Audacity. Meantime, here are a few programs you could try:


Programs for working with MIDI

There are many excellent programs for recording and/or editing MIDI files. Many will display the MIDI notes on a musical staff. Here are some recommendations: