Differences between revisions 39 and 66 (spanning 27 versions)
Revision 39 as of 2013-01-06 18:03:53
Size: 2900
Comment: merged MIDI and Midi since almost entirely duplicated contents. and will make Midi redirection to MIDI
Revision 66 as of 2020-03-21 10:34:30
Size: 2204
Comment: changed 1 heading level, interwiki link
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/Midi|Français]] - [[it/MIDI|Italiano]] -~
----
[[Sound]]
----
= MIDI =
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/MIDI|Français]] - [[it/MIDI|Italiano]] -~

 . '''[[WikiPedia:MIDI|MIDI (Musical Instrument Digital Interface)]]''' is a standard communication protocol thats connects a wide variety of electronic musical instruments, computers, and related '''[[Sound]]''' devices for playing, editing and recording music. A single MIDI link through a MIDI cable can carry up to sixteen channels of information, each of which can be routed to a separate device or instrument. This could be sixteen different digital instruments, for example.
Line 10: Line 9:
== Software ==

'''For a full list of MIDI software, see the [[Multimedia]] page.'''

MIDI file [[MIME]] types are {{{audio/x-midi}}}, {{{audio/x-mid}}}, and {{{audio/midi}}}. The file extensions are {{{.mid}}}, {{{.midi}}}.


[[http://timidity.sourceforge.net/|Timidity]] is a MIDI and Karaoke (`.kar`) player. [[PackageManagement#Installing.2C_removing.2C_upgrading_software|Install]] the [[DebianPkg:timidity]] and [[DebianPkg:timidity-interfaces-extra]] packages, and run the program with the interface of your choice:

{{{
timidity -ia #text interface
timidity -ig #gtk interface
timidity -ik #tcl/tk interface
}}}


The [[DebPkg:fluid-soundfont-gs]] [[DebPkg:fluid-soundfont-gm]] [[DebPkg:vlc-plugin-fluidsynth]] packages allow you to play MIDI files in any Gstreamer-based media player or [[VLC]]. Right-click a {{{.mid}}} or {{{.kar}}} file in your FileManager, ''Open with...'', select the {{{/usr/bin/timidy}}} program, and change its command line to {{{'/usr/bin/timidity' -ia}}}
Line 12: Line 29:
The MIDI standard is about signals in a cable. Many musical instruments understand those signals and can communicate through them. The computer can act as a musical instrument, and join the conversation. See the MidiHardware page to connect a musical instrument to your computer using MIDI.
Line 14: Line 31:
There is also a standard midi file format, which describes files containing the same signals. Below is an explanation on how to enable your computer to play such files. MidiHardware describes a method to enable your musical instruments to connect to the computer and be recognised.
Line 16: Line 32:
== Software ==
The [[MIME]] types are
== MIDI systems ==
Line 19: Line 34:
 * audio/x-midi
 * audio/x-mid
 * audio/midi
MIDI playback and recording is supported by the following systems and sound servers:
Line 23: Line 36:
and the file extensions
{{{
 mid
 midi
}}}
 * [[ALSA]], [[AlsaMidi]], [[MidiHardware]]
 * [[JACK]]
 * [[OSS]]
Line 29: Line 40:
You can use [[Timidity]] to easily play MIDI and [[Karaoke|karaoke]] files in Linux and [[Mozilla]].

=== GNOME ===

Store a midi file in your home directory. Open [[Nautilus]] and right click in the midi file. Select "Open with" (other application) or in Properties go to "Open with". Select Timidity in /usr/bin. Appears the text: {{{
 '/usr/bin/timidity'
}}}

Change it to {{{
 '/usr/bin/timidity' -ia
}}}

Now, every time you click in a midi file, timidity is going to play it.

You can use a similar procedure for *.kar (open karaoke) files.

=== Mozilla ===

Go to Edit / Preferences / Advanced and in "System preferences" mark the box "Use the system preferences" (if you have [[Timidity]] installed in your GNOME system).

=== ALSA ===
 * [[http://alsa.opensrc.org/index.php/AlsaMidi|AlsaMidi]].
 * http://www.fluidsynth.org/ and http://qsynth.sourceforge.net/qsynth-index.html
 * http://pkl.net/~node/alsa-patch-bay.html

=== Jack MIDI ===
 * jackd can work with MIDI data as well as audio.

=== OSS ===
 * [[OSS]]
 * http://www.4front-tech.com/ossapps.html#midi

== See Also ==

 * MidiHardware
 * PatchBay
 * SoundFont
 * [[Timidity]]
Line 69: Line 42:
 * [[http://unixmidiplugin.tripod.com/midiSamplePage.html|MIDI test page]].
 * [[WikiPedia:Musical_Instrument_Digital_Interface|Musical Instrument Digital Interface]];
   * [[WikiPedia:Musical_Instrument_Digital_Interface#MIDI_Karaoke_.28.kar.29|File formats: MIDI Karaoke (.kar)]]

 * WikiPedia:MIDI - MIDI - Wikipedia
 * http://alsa.opensrc.org/AlsaMidi - AlsaMidi - ALSA Wiki
Line 74: Line 47:
 * [[http://alsa.opensrc.org/AlsaMidi|AlsaMidi]]
 * http://pkl.net/~node/software/alsa-patch-bay/ - ALSA Patch Bay
 * http://www.kibosh.org/pykaraoke - !PyKaraoke: MIDI/CDG Karaoke player for Linux
 * http://www.4front-tech.com/ossapps.html#midi - Applications for Open Sound System: MIDI Tools and Players
 * http://www.fluidsynth.org/
 * http://qsynth.sourceforge.net/
Line 81: Line 48:
 * http://unixmidiplugin.tripod.com/midiSamplePage.html - MIDI test page
Line 84: Line 50:
CategorySound
CategorySound CategoryFileFormat

Translation(s): English - Français - Italiano

  • MIDI (Musical Instrument Digital Interface) is a standard communication protocol thats connects a wide variety of electronic musical instruments, computers, and related Sound devices for playing, editing and recording music. A single MIDI link through a MIDI cable can carry up to sixteen channels of information, each of which can be routed to a separate device or instrument. This could be sixteen different digital instruments, for example.

Software

For a full list of MIDI software, see the Multimedia page.

MIDI file MIME types are audio/x-midi, audio/x-mid, and audio/midi. The file extensions are .mid, .midi.

Timidity is a MIDI and Karaoke (.kar) player. Install the timidity and timidity-interfaces-extra packages, and run the program with the interface of your choice:

timidity -ia #text interface
timidity -ig #gtk interface
timidity -ik #tcl/tk interface

The fluid-soundfont-gs fluid-soundfont-gm vlc-plugin-fluidsynth packages allow you to play MIDI files in any Gstreamer-based media player or VLC. Right-click a .mid or .kar file in your FileManager, Open with..., select the /usr/bin/timidy program, and change its command line to '/usr/bin/timidity' -ia

Hardware

See the MidiHardware page to connect a musical instrument to your computer using MIDI.

MIDI systems

MIDI playback and recording is supported by the following systems and sound servers:


CategorySound CategoryFileFormat