Difference between revisions of "Midi"

From VideoLAN Wiki
Jump to navigation Jump to search
m (improve opening paragraph)
Line 7: Line 7:
  
 
== Play .midi files in VLC ==
 
== Play .midi files in VLC ==
{{VLC}} can play MIDI since 0.9.0 on most platforms. On Windows, you need {{VLC}} 1.1.0.
+
{{VLC}} can play MIDI since 0.9.0 on most platforms. On Windows, you need a {{VLC}} version between 1.1.0 and 2.1.0.
  
 
=== SoundFonts file ===
 
=== SoundFonts file ===
Line 24: Line 24:
 
If the '''FluidSynth''' codec is not shown in VLC's preferences, you have to install it as well as sound fonts.
 
If the '''FluidSynth''' codec is not shown in VLC's preferences, you have to install it as well as sound fonts.
 
E.g. on [[Ubuntu]] 13.04 it is in the '''vlc-plugin-fluidsynth''' package, while the '''fluid-soundfont-gs''' and '''fluid-soundfont-gm''' packages install some sound fonts in <code>/usr/share/sounds/sf2</code>.
 
E.g. on [[Ubuntu]] 13.04 it is in the '''vlc-plugin-fluidsynth''' package, while the '''fluid-soundfont-gs''' and '''fluid-soundfont-gm''' packages install some sound fonts in <code>/usr/share/sounds/sf2</code>.
 +
 +
=== Windows ===
 +
As of {{VLC}} 2.1.0, the Windows version does not support .midi files anymore.

Revision as of 15:05, 27 September 2013

Module: fluidsynth
Type Codec
First VLC version 0.9.0
Last VLC version -
Operating system(s) all
Description SMF files playback through fluidsynth library
Shortcut(s) -

Standard MIDI Files (SMF) contain sounds events that indicate the notes and instruments in a musical performance, but do not include the digital waveform of the audio. They usually have the extension .mid or .midi. To play a MIDI file, software has to synthesize the music, which usually requires reading digital samples of musical instruments from a large file.

Play .midi files in VLC

VLC media player can play MIDI since 0.9.0 on most platforms. On Windows, you need a VLC media player version between 1.1.0 and 2.1.0.

SoundFonts file

To playback .midi files, you need a SoundFont file (with extension .sf2). You can download them from either of these two places:

Configure SoundFont in VLC

You need to open VLC's preferences. The preferences window has two display modes called Simple and All. Choose the display mode called All, then go to Codecs, Audio codecs, FluidSynth.

You select the .sf2 file with the preferences select button. Due to a bug in the software it may ask if you want to replace the file you selected. Choose "Yes" to continue (your file remains intact).

Linux

If the FluidSynth codec is not shown in VLC's preferences, you have to install it as well as sound fonts. E.g. on Ubuntu 13.04 it is in the vlc-plugin-fluidsynth package, while the fluid-soundfont-gs and fluid-soundfont-gm packages install some sound fonts in /usr/share/sounds/sf2.

Windows

As of VLC media player 2.1.0, the Windows version does not support .midi files anymore.