<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rpremuz</id>
	<title>VideoLAN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rpremuz"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/Rpremuz/"/>
	<updated>2026-11-04T15:41:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Midi&amp;diff=60092</id>
		<title>Midi</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Midi&amp;diff=60092"/>
		<updated>2019-03-21T10:50:19Z</updated>

		<summary type="html">&lt;p&gt;Rpremuz: /* Linux */ Ubuntu version updated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{wikipedia|Musical_Instrument_Digital_Interface#Standard MIDI files|label1=Midi files}}&lt;br /&gt;
{{Module|name=smf|type=Demux|description=Standard MIDI Files|first_version=0.9.0}}&lt;br /&gt;
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.&lt;br /&gt;
They usually have the extension &amp;lt;tt&amp;gt;.mid&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;.midi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
To play a MIDI file, software has to synthesize the music, which usually requires reading digital samples of musical instruments from a large file.&lt;br /&gt;
&lt;br /&gt;
== Play .mid (MIDI) files in VLC ==&lt;br /&gt;
{{Module|name=fluidsynth|type=Codec|description=MIDI synthesis with the FluidSynth library|first_version=0.9.0 (Linux)|first_version=0.9.0 (Linux)&amp;lt;br /&amp;gt;1.1.0 (Windows)|last_version=3.0.x (Windows)|os=Linux}}&lt;br /&gt;
&lt;br /&gt;
{{VLC}} can play Standard MIDI File (.MID) and RIFF MIDI (.RMI) files since version 0.9.0.&lt;br /&gt;
&lt;br /&gt;
Windows binary builds included MIDI support only in versions {{VLC}} from 1.1.0 through 2.0.8. Starting from version 2.1.0, support was dropped due to [https://trac.videolan.org/vlc/ticket/9486 security issues]. It was re-activated in VLC 3.0.0.&lt;br /&gt;
&lt;br /&gt;
=== SoundFonts file ===&lt;br /&gt;
To playback MIDI files, you need a [[wikipedia:SoundFont|SoundFont]] file (with extension &amp;lt;tt&amp;gt;.sf2&amp;lt;/tt&amp;gt;).&lt;br /&gt;
You can download them from either of these two places:&lt;br /&gt;
&lt;br /&gt;
* http://www.schristiancollins.com/generaluser.php&lt;br /&gt;
* http://sourceforge.net/apps/trac/fluidsynth/wiki/SoundFont&lt;br /&gt;
&lt;br /&gt;
=== Configure SoundFont in VLC ===&lt;br /&gt;
You need to open VLC&#039;s preferences. The preferences window has two display modes called &#039;&#039;&#039;Simple&#039;&#039;&#039; and &#039;&#039;&#039;All&#039;&#039;&#039;. Choose the display mode called &#039;&#039;&#039;All&#039;&#039;&#039;, then go to &#039;&#039;&#039;Input/Codecs&#039;&#039;&#039; &amp;gt; &#039;&#039;&#039;Audio codecs&#039;&#039;&#039; &amp;gt; &#039;&#039;&#039;FluidSynth&#039;&#039;&#039;. Then select the .sf2 file with &#039;&#039;&#039;Browse&#039;&#039;&#039; button and save the preferences with &#039;&#039;&#039;Save&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
If the &#039;&#039;&#039;FluidSynth&#039;&#039;&#039; codec is not shown in VLC&#039;s preferences, you have to install it as well as sound fonts.&lt;br /&gt;
E.g. on [[Ubuntu]] 18.04 and derivatives it is in the &#039;&#039;&#039;vlc-plugin-fluidsynth&#039;&#039;&#039; package, while the &#039;&#039;&#039;fluid-soundfont-gs&#039;&#039;&#039; and &#039;&#039;&#039;fluid-soundfont-gm&#039;&#039;&#039; packages install some sound fonts in &amp;lt;code&amp;gt;/usr/share/sounds/sf2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Container]]&lt;/div&gt;</summary>
		<author><name>Rpremuz</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Midi&amp;diff=60091</id>
		<title>Midi</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Midi&amp;diff=60091"/>
		<updated>2019-03-21T10:48:40Z</updated>

		<summary type="html">&lt;p&gt;Rpremuz: /* Configure SoundFont in VLC */ updated for VLC 3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{wikipedia|Musical_Instrument_Digital_Interface#Standard MIDI files|label1=Midi files}}&lt;br /&gt;
{{Module|name=smf|type=Demux|description=Standard MIDI Files|first_version=0.9.0}}&lt;br /&gt;
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.&lt;br /&gt;
They usually have the extension &amp;lt;tt&amp;gt;.mid&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;.midi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
To play a MIDI file, software has to synthesize the music, which usually requires reading digital samples of musical instruments from a large file.&lt;br /&gt;
&lt;br /&gt;
== Play .mid (MIDI) files in VLC ==&lt;br /&gt;
{{Module|name=fluidsynth|type=Codec|description=MIDI synthesis with the FluidSynth library|first_version=0.9.0 (Linux)|first_version=0.9.0 (Linux)&amp;lt;br /&amp;gt;1.1.0 (Windows)|last_version=3.0.x (Windows)|os=Linux}}&lt;br /&gt;
&lt;br /&gt;
{{VLC}} can play Standard MIDI File (.MID) and RIFF MIDI (.RMI) files since version 0.9.0.&lt;br /&gt;
&lt;br /&gt;
Windows binary builds included MIDI support only in versions {{VLC}} from 1.1.0 through 2.0.8. Starting from version 2.1.0, support was dropped due to [https://trac.videolan.org/vlc/ticket/9486 security issues]. It was re-activated in VLC 3.0.0.&lt;br /&gt;
&lt;br /&gt;
=== SoundFonts file ===&lt;br /&gt;
To playback MIDI files, you need a [[wikipedia:SoundFont|SoundFont]] file (with extension &amp;lt;tt&amp;gt;.sf2&amp;lt;/tt&amp;gt;).&lt;br /&gt;
You can download them from either of these two places:&lt;br /&gt;
&lt;br /&gt;
* http://www.schristiancollins.com/generaluser.php&lt;br /&gt;
* http://sourceforge.net/apps/trac/fluidsynth/wiki/SoundFont&lt;br /&gt;
&lt;br /&gt;
=== Configure SoundFont in VLC ===&lt;br /&gt;
You need to open VLC&#039;s preferences. The preferences window has two display modes called &#039;&#039;&#039;Simple&#039;&#039;&#039; and &#039;&#039;&#039;All&#039;&#039;&#039;. Choose the display mode called &#039;&#039;&#039;All&#039;&#039;&#039;, then go to &#039;&#039;&#039;Input/Codecs&#039;&#039;&#039; &amp;gt; &#039;&#039;&#039;Audio codecs&#039;&#039;&#039; &amp;gt; &#039;&#039;&#039;FluidSynth&#039;&#039;&#039;. Then select the .sf2 file with &#039;&#039;&#039;Browse&#039;&#039;&#039; button and save the preferences with &#039;&#039;&#039;Save&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
If the &#039;&#039;&#039;FluidSynth&#039;&#039;&#039; codec is not shown in VLC&#039;s preferences, you have to install it as well as sound fonts.&lt;br /&gt;
E.g. on [[Ubuntu]] 14.04 and derivatives it is in the &#039;&#039;&#039;vlc-plugin-fluidsynth&#039;&#039;&#039; package, while the &#039;&#039;&#039;fluid-soundfont-gs&#039;&#039;&#039; and &#039;&#039;&#039;fluid-soundfont-gm&#039;&#039;&#039; packages install some sound fonts in &amp;lt;code&amp;gt;/usr/share/sounds/sf2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Container]]&lt;/div&gt;</summary>
		<author><name>Rpremuz</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Subversion&amp;diff=30718</id>
		<title>Subversion</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Subversion&amp;diff=30718"/>
		<updated>2016-02-09T15:53:29Z</updated>

		<summary type="html">&lt;p&gt;Rpremuz: updated link to Subversion home page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction to SVN ==&lt;br /&gt;
Some VideoLAN&#039;s repositories are using [https://subversion.apache.org Subversion], which is a classical VCS, like CVS.&lt;br /&gt;
It also provides a better control over the repository compared to CVS.&lt;br /&gt;
&lt;br /&gt;
Note that some project, like {{VLC}} or x264 are using Git. You can read more about VideoLAN&#039;s git repository in our [[Git|Git wiki page]].&lt;br /&gt;
&lt;br /&gt;
Currently the Subversion repositories are hosted on one of the [[VideoLAN Servers]].&lt;br /&gt;
&lt;br /&gt;
=== How to use it ===&lt;br /&gt;
To use it, you have to download the [https://subversion.apache.org official command line Subversion client]. You can also use alternative clients, such as the graphical [http://tortoisesvn.tigris.org/ TortoiseSVN] for Windows.&lt;br /&gt;
&lt;br /&gt;
When using [[Cygwin]] as compilation environment it is recommended to use the SVN package that comes with it (using the Cygwin setup). Using an &amp;quot;external&amp;quot; SVN application might otherwise cause problems with so called DOS versus UNIX &amp;quot;line endings&amp;quot; when creating files.&lt;br /&gt;
&lt;br /&gt;
Subversion&#039;s command-line interface is generally pretty similar to CVS. This is a &#039;&#039;&#039;basic&#039;&#039;&#039; and partial guide of the most useful commands. For a complete guide, use the book [http://svnbook.red-bean.com/en/1.2/index.html Version Control with Subversion]. If you have a write access to the server, it&#039;s very recommended that you read it and know about the advanced features of Subversion, because you might use them sooner or later.&lt;br /&gt;
&lt;br /&gt;
== Anonymous use ==&lt;br /&gt;
If you don&#039;t have a write access to the repository, you have to access it anonymously, via regular SVN. However, most of the techniques shown here may be useful also for developer use, so please read it even if you don&#039;t have to access the server anonymously.&lt;br /&gt;
&lt;br /&gt;
=== Check out ===&lt;br /&gt;
First, you have to check out the code of libdvbpsi. Use the following syntax:&lt;br /&gt;
 {{%}} &amp;lt;nowiki&amp;gt;svn checkout svn://svn.videolan.org/libdvbpsi/trunk libdvbpsi-trunk&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can browse the code structure using on the [http://svn.videolan.org SVN webviewer]&lt;br /&gt;
Use the three folders there for different purposes:&lt;br /&gt;
* {{SVNSourceFile|name=trunk|repo=libdvbpsi}} is the main development branch.&lt;br /&gt;
* The {{SVNSourceFile|name=branches|repo=libdvbpsi}} are used for stable versions and for the development of complex features.&lt;br /&gt;
* The {{SVNSourceFile|name=tags|repo=libdvbpsi}} are used to track the released versions.&lt;br /&gt;
&lt;br /&gt;
The URL structure is:&lt;br /&gt;
&lt;br /&gt;
; transport : svn://svn.videolan.org&lt;br /&gt;
; project repository : /libdvbpsi&lt;br /&gt;
; branch/tag : /trunk, or /branches/0.8.6, or /tags/0.8.5&lt;br /&gt;
; files : /README&lt;br /&gt;
&lt;br /&gt;
You can also checkout a portion of the SVN using the URL.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Don&#039;t leave off the &amp;quot;trunk&amp;quot; or branch part!&#039;&#039;&#039; If you leave that off you check out every revision of every file in the repo, which is pretty silly.&lt;br /&gt;
&lt;br /&gt;
=== Projects on VideoLAN&#039;s SVN ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;svn://svn.videolan.org/vls&#039;&#039;&#039;: VideoLAN Server (deprecated and unmaintained : {{VLC}} can now do the same);&lt;br /&gt;
* &#039;&#039;&#039;svn://svn.videolan.org/libdvdcss&#039;&#039;&#039;: library for decrypting DVDs, used by {{VLC}} and VLS;&lt;br /&gt;
* &#039;&#039;&#039;svn://svn.videolan.org/libdvdplay&#039;&#039;&#039;: library for DVD navigation, (deprecated) once used by {{VLC}}, not it uses libdvdnav from mplayer, with a few internal patches;&lt;br /&gt;
* &#039;&#039;&#039;svn://svn.videolan.org/libdvbpsi&#039;&#039;&#039;: library for parsing Program Specific Information from MPEG and DVB streams, used by VLC and VLS;&lt;br /&gt;
* &#039;&#039;&#039;svn://svn.videolan.org/videolan/www.videolan.org&#039;&#039;&#039;: the website (no trunk or branches);&lt;br /&gt;
* &#039;&#039;&#039;svn://svn.videolan.org/libmpeg2&#039;&#039;&#039;: MPEG2 library.&lt;br /&gt;
* &#039;&#039;&#039;svn://svn.videolan.org/liba52&#039;&#039;&#039;: A52/AC3 decoder library.&lt;br /&gt;
* &#039;&#039;&#039;svn://svn.videolan.org/libdvbcsa&#039;&#039;&#039;:  DVB Common Scrambling Algorithm library&lt;br /&gt;
* &#039;&#039;&#039;svn://svn.videolan.org/multicat&#039;&#039;&#039;:  Set of tools to easily and efficiently manipulate multicast streams, MPEG-2 TS (ISO/IEC 13818-1) in particular.&lt;br /&gt;
&lt;br /&gt;
=== Updating the working copy ===&lt;br /&gt;
To update your working copy and get the latest files, use the following command:&lt;br /&gt;
&lt;br /&gt;
 {{%}} svn update&lt;br /&gt;
&lt;br /&gt;
Note that SVN, unlike CVS, doesn&#039;t need to be told to prune removed files or create new directories. This is automagic.&lt;br /&gt;
&lt;br /&gt;
=== Making a diff ===&lt;br /&gt;
Diffs, or patches, are text files which include all the changes done in the working copy. &lt;br /&gt;
If you suggest a new feature or like to suggest a change, send a patch to the mailing-list with [PATCH] in the subject.&lt;br /&gt;
&lt;br /&gt;
To create a diff from the current repository, use the following command:&lt;br /&gt;
&lt;br /&gt;
 {{%}} svn diff&lt;br /&gt;
&lt;br /&gt;
Normally, unlike CVS, you don&#039;t have to tell SVN which files you changed; however, you may like to diff only a part of the repository. To do that, specify the files to diff:&lt;br /&gt;
&lt;br /&gt;
 {{%}} svn diff modules/gui/qt4/qt4.hpp&lt;br /&gt;
&lt;br /&gt;
Note that SVN defaults to the &amp;quot;unified&amp;quot; diff format, so the &amp;quot;-u&amp;quot; option doesn&#039;t have to be passed.&lt;br /&gt;
&lt;br /&gt;
=== Applying a diff ===&lt;br /&gt;
Subversion does not contain a built in command to apply diffs to the current working copy (for example, to review or commit diffs published in Bugzilla); instead, you can use the regular [[:en:Patch (Unix)|patch]] unix utility:&lt;br /&gt;
 {{%}} patch -p0 &amp;lt; patch&lt;br /&gt;
&lt;br /&gt;
TortoiseSVN has a built-in support for applying a diff.&lt;br /&gt;
&lt;br /&gt;
=== .cvsignore / Ignoring files ===&lt;br /&gt;
You can ignore some files, using metadata:&lt;br /&gt;
 {{%}} svn propedit svn:ignore mydirectory&lt;br /&gt;
&lt;br /&gt;
=== Changing file structure ===&lt;br /&gt;
&lt;br /&gt;
==== Add a file ====&lt;br /&gt;
You can add files or folders to the working copy, to be included in the next diff or commit, using the command:&lt;br /&gt;
 {{%}} svn add file.name&lt;br /&gt;
&lt;br /&gt;
If file.name is a text-based document, you should do&lt;br /&gt;
 {{%}} svn propset svn:eol-style native file.name&lt;br /&gt;
&lt;br /&gt;
If you add a folder, it will add all the files included in the folder, except for files in the ignored list.&lt;br /&gt;
&lt;br /&gt;
==== Delete a file ====&lt;br /&gt;
You can delete files or folders from the working copy, to be deleted in the next commit or marked as such in the next diff, using the command (which will automatically &#039;&#039;&#039;delete&#039;&#039;&#039; the files from the working copy, but won&#039;t delete folders in such way):&lt;br /&gt;
 {{%}} svn delete file.name&lt;br /&gt;
&lt;br /&gt;
Make sure the file or folder do not have local modifications, else they won&#039;t be deleted unless you force the deletion.&lt;br /&gt;
&lt;br /&gt;
==== Move a file ====&lt;br /&gt;
You no longer create new files from scratch when moving files!&lt;br /&gt;
 {{%}} svn mv file1 file2&lt;br /&gt;
&lt;br /&gt;
You can also do it with entire folders.&lt;br /&gt;
&lt;br /&gt;
=== Reverting your changes ===&lt;br /&gt;
If your changes in the working copy are not useful in your opinion, you can revert them using the following command:&lt;br /&gt;
 {{%}} svn revert&lt;br /&gt;
&lt;br /&gt;
You must use parameters for this command. To revert all your changes in the working copy, use:&lt;br /&gt;
 {{%}} svn revert -R .&lt;br /&gt;
&lt;br /&gt;
To revert the changes in a specific file, use:&lt;br /&gt;
 {{%}} svn revert file.name&lt;br /&gt;
&lt;br /&gt;
Reverting can also remove added files (they won&#039;t be deleted, just removed and considered &amp;quot;unknown files&amp;quot;, just like you didn&#039;t use &amp;lt;code&amp;gt;svn add&amp;lt;/code&amp;gt; at first), and restore deleted files (both deleted by hand and deleted by &amp;lt;code&amp;gt;svn delete&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Checking the status of the working copy ===&lt;br /&gt;
You can check the status of your working copy using the following command:&lt;br /&gt;
 {{%}} svn status&lt;br /&gt;
&lt;br /&gt;
These are several important letters in the first column of the item, which show the status:&lt;br /&gt;
* M = the item was modified by you&lt;br /&gt;
* A = the item was added by you (using &amp;lt;code&amp;gt;svn add&amp;lt;/code&amp;gt;)&lt;br /&gt;
* D = the item was deleted by you (using &amp;lt;code&amp;gt;svn delete&amp;lt;/code&amp;gt;)&lt;br /&gt;
* ? = the item is not under the version control, but exist&lt;br /&gt;
* ! = the item is missing (under the version control, but not exist - probably deleted without using &amp;lt;code&amp;gt;svn delete&amp;lt;/code&amp;gt;) or incomplete&lt;br /&gt;
&lt;br /&gt;
=== Checking out specific revision number ===&lt;br /&gt;
You can check specific repository revision using following command :&lt;br /&gt;
 {{%}} svn checkout -r 12345 svn://svn.videolan.org/libdvbpsi/trunk libdvbpsi-trunk&lt;br /&gt;
&lt;br /&gt;
== Developer use ==&lt;br /&gt;
If you have a write access for the server, you can use an SSH access instead of HTTP access.&lt;br /&gt;
&lt;br /&gt;
=== Commits ===&lt;br /&gt;
Commits, or check ins, are the action of applying your changes from the working copy to the web repository. Use the following command to do that:&lt;br /&gt;
 {{%}} svn commit&lt;br /&gt;
&lt;br /&gt;
Using the command without the parameters will fail, unless you&#039;ve configured an editor, because you have to enter a comment for the file logs. You can use one of the following forms:&lt;br /&gt;
 {{%}} svn commit --message=&amp;quot;This is the log comment.&amp;quot;&lt;br /&gt;
 {{%}} svn commit --file=file_with_log_comment&lt;br /&gt;
&lt;br /&gt;
=== Other commands ===&lt;br /&gt;
&lt;br /&gt;
 {{%}} svn export&lt;br /&gt;
 {{%}} svn propedit&lt;br /&gt;
&lt;br /&gt;
Are documented in the [http://svnbook.red-bean.com/en/1.2/index.html SVN Book] that you should definitively read.&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://svn.videolan.org Subversion Web access]&lt;br /&gt;
* [http://svnbook.red-bean.com/en/1.2/index.html Version Control with Subversion] book (SVN version 1.2)&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]] [[Category:Coding]]&lt;/div&gt;</summary>
		<author><name>Rpremuz</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Midi&amp;diff=30717</id>
		<title>Midi</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Midi&amp;diff=30717"/>
		<updated>2016-02-08T16:42:11Z</updated>

		<summary type="html">&lt;p&gt;Rpremuz: undoing spam&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{wikipedia|Musical_Instrument_Digital_Interface#Standard MIDI files|Midi files}}&lt;br /&gt;
{{Module|name=smf|type=Demux|description=Standard MIDI Files|first_version=0.9.0}}&lt;br /&gt;
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.&lt;br /&gt;
They usually have the extension &amp;lt;tt&amp;gt;.mid&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;.midi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
To play a MIDI file, software has to synthesize the music, which usually requires reading digital samples of musical instruments from a large file.&lt;br /&gt;
&lt;br /&gt;
== Play .mid (MIDI) files in VLC ==&lt;br /&gt;
{{Module|name=fluidsynth|type=Codec|description=MIDI synthesis with the FluidSynth library|first_version=0.9.0 (Linux)|first_version=0.9.0 (Linux)&amp;lt;br /&amp;gt;1.1.0 (Windows)|last_version=2.0.8 (Windows)|os=Linux}}&lt;br /&gt;
&lt;br /&gt;
{{VLC}} can play Standard MIDI File (.MID) and RIFF MIDI (.RMI) files since version 0.9.0.&lt;br /&gt;
&lt;br /&gt;
Windows binary builds included MIDI support only in versions {{VLC}} from 1.1.0 through 2.0.8. Starting from version 2.1.0, support was dropped due to [https://trac.videolan.org/vlc/ticket/9486 security issues]. &lt;br /&gt;
&lt;br /&gt;
=== SoundFonts file ===&lt;br /&gt;
To playback MIDI files, you need a [[wikipedia:SoundFont|SoundFont]] file (with extension &amp;lt;tt&amp;gt;.sf2&amp;lt;/tt&amp;gt;).&lt;br /&gt;
You can download them from either of these two places:&lt;br /&gt;
&lt;br /&gt;
* http://www.schristiancollins.com/generaluser.php&lt;br /&gt;
* http://sourceforge.net/apps/trac/fluidsynth/wiki/SoundFont&lt;br /&gt;
&lt;br /&gt;
=== Configure SoundFont in VLC ===&lt;br /&gt;
You need to open VLC&#039;s preferences. The preferences window has two display modes called &#039;&#039;&#039;Simple&#039;&#039;&#039; and &#039;&#039;&#039;All&#039;&#039;&#039;. Choose the display mode called &#039;&#039;&#039;All&#039;&#039;&#039;, then go to &#039;&#039;&#039;Codecs&#039;&#039;&#039;, &#039;&#039;&#039;Audio codecs&#039;&#039;&#039;, &#039;&#039;&#039;FluidSynth&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;Yes&amp;quot; to continue (your file remains intact).&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
If the &#039;&#039;&#039;FluidSynth&#039;&#039;&#039; codec is not shown in VLC&#039;s preferences, you have to install it as well as sound fonts.&lt;br /&gt;
E.g. on [[Ubuntu]] 14.04 and derivatives it is in the &#039;&#039;&#039;vlc-plugin-fluidsynth&#039;&#039;&#039; package, while the &#039;&#039;&#039;fluid-soundfont-gs&#039;&#039;&#039; and &#039;&#039;&#039;fluid-soundfont-gm&#039;&#039;&#039; packages install some sound fonts in &amp;lt;code&amp;gt;/usr/share/sounds/sf2&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Rpremuz</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Midi&amp;diff=26991</id>
		<title>Midi</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Midi&amp;diff=26991"/>
		<updated>2014-08-20T16:10:55Z</updated>

		<summary type="html">&lt;p&gt;Rpremuz: /* Linux */ Ubuntu version updated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{wikipedia|Musical_Instrument_Digital_Interface#Standard MIDI files|Midi files}}&lt;br /&gt;
{{Module|name=fluidsynth|type=Codec|description=SMF files playback through fluidsynth library|first_version=0.9.0|last_version=2.0.8 (on Windows)}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
They usually have the extension &amp;lt;tt&amp;gt;.mid&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;.midi&amp;lt;/tt&amp;gt;.&lt;br /&gt;
To play a MIDI file, software has to synthesize the music, which usually requires reading digital samples of musical instruments from a large file.&lt;br /&gt;
&lt;br /&gt;
== Play .midi files in VLC ==&lt;br /&gt;
{{VLC}} can play Standard MIDI File (.MID) and RIFF MIDI (.RMI) files since version 0.9.0.&lt;br /&gt;
&lt;br /&gt;
Windows binary builds included MIDI support only in versions {{VLC}} from 1.1.0 through 2.0.8. Starting from version 2.1.0, support was dropped due to [https://trac.videolan.org/vlc/ticket/9486 security issues]. &lt;br /&gt;
&lt;br /&gt;
=== SoundFonts file ===&lt;br /&gt;
To playback MIDI files, you need a [[wikipedia:SoundFont|SoundFont]] file (with extension &amp;lt;tt&amp;gt;.sf2&amp;lt;/tt&amp;gt;).&lt;br /&gt;
You can download them from either of these two places:&lt;br /&gt;
&lt;br /&gt;
* http://www.schristiancollins.com/generaluser.php&lt;br /&gt;
* http://sourceforge.net/apps/trac/fluidsynth/wiki/SoundFont&lt;br /&gt;
&lt;br /&gt;
=== Configure SoundFont in VLC ===&lt;br /&gt;
You need to open VLC&#039;s preferences. The preferences window has two display modes called &#039;&#039;&#039;Simple&#039;&#039;&#039; and &#039;&#039;&#039;All&#039;&#039;&#039;. Choose the display mode called &#039;&#039;&#039;All&#039;&#039;&#039;, then go to &#039;&#039;&#039;Codecs&#039;&#039;&#039;, &#039;&#039;&#039;Audio codecs&#039;&#039;&#039;, &#039;&#039;&#039;FluidSynth&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;Yes&amp;quot; to continue (your file remains intact).&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
If the &#039;&#039;&#039;FluidSynth&#039;&#039;&#039; codec is not shown in VLC&#039;s preferences, you have to install it as well as sound fonts.&lt;br /&gt;
E.g. on [[Ubuntu]] 14.04 and derivatives it is in the &#039;&#039;&#039;vlc-plugin-fluidsynth&#039;&#039;&#039; package, while the &#039;&#039;&#039;fluid-soundfont-gs&#039;&#039;&#039; and &#039;&#039;&#039;fluid-soundfont-gm&#039;&#039;&#039; packages install some sound fonts in &amp;lt;code&amp;gt;/usr/share/sounds/sf2&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Rpremuz</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Midi&amp;diff=18833</id>
		<title>Midi</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Midi&amp;diff=18833"/>
		<updated>2011-03-16T23:03:32Z</updated>

		<summary type="html">&lt;p&gt;Rpremuz: /* Configure SoundFont in VLC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{wikipedia|Musical_Instrument_Digital_Interface#MIDI_file_formats|Midi files}}&lt;br /&gt;
{{Module|name=fluidsynth|type=Codec|description=SMF files playback through fluidsynth library|first_version=0.9.0}}&lt;br /&gt;
&lt;br /&gt;
Standard MIDI File (SMF) are instrumental musical files carrying sounds events that can be played back with a sound font.&lt;br /&gt;
&lt;br /&gt;
== Play .midi files in VLC ==&lt;br /&gt;
{{VLC}} can play MIDI since 0.9.0 on most platforms. On Windows, you need {{VLC}} 1.1.0.&lt;br /&gt;
&lt;br /&gt;
=== SoundFonts file ===&lt;br /&gt;
To playback those .midi files, you need a SoundFont file: .sf2.&lt;br /&gt;
&lt;br /&gt;
You can download them from either of these two places:&lt;br /&gt;
&lt;br /&gt;
* http://www.schristiancollins.com/generaluser.php&lt;br /&gt;
* http://sourceforge.net/apps/trac/fluidsynth/wiki/SoundFont&lt;br /&gt;
&lt;br /&gt;
=== Configure SoundFont in VLC ===&lt;br /&gt;
You need to open VLC&#039;s preferences. The preferences window has two display modes called &#039;&#039;&#039;Simple&#039;&#039;&#039; and &#039;&#039;&#039;All&#039;&#039;&#039;. Choose the display mode called &#039;&#039;&#039;All&#039;&#039;&#039;, then go to &#039;&#039;&#039;Codecs&#039;&#039;&#039;, &#039;&#039;&#039;Audio codecs&#039;&#039;&#039;, &#039;&#039;&#039;FluidSynth&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;Yes&amp;quot; to continue (your file remains intact).&lt;br /&gt;
&lt;br /&gt;
If the &#039;&#039;&#039;FluidSynth&#039;&#039;&#039; codec is not shown in the preferences, you have to install it (e.g. on [[Ubuntu]] 10.10 it is included in the &#039;&#039;&#039;vlc-plugin-fluidsynth&#039;&#039;&#039; package, while the &#039;&#039;&#039;fluid-soundfont-gs&#039;&#039;&#039; and &#039;&#039;&#039;fluid-soundfont-gm&#039;&#039;&#039; packages install some sound fonts in &amp;lt;code&amp;gt;/usr/share/sounds/sf2&amp;lt;/code&amp;gt;).&lt;/div&gt;</summary>
		<author><name>Rpremuz</name></author>
	</entry>
</feed>