VLC has only limited support for MIDI-files due to several restrictions.
VLC is supporting MIDI to a degree on Linux and Windows by means of FluidSynth. However, on Mac OS X builds of VLC, the FluidSynth-Plugin is neither supplied nor built, rendering the How to inapplicable.
Fortunately, the plugin is part of the VLC source tree and can be built easily. You'll need to have the Developer Tools installed to do the software build.
The following shell script will take care of:
You need to have installed:
[crarko adds: I haven't tested this one. The script is mirrored here.]
VLC is supporting MIDI to a degree on Linux and Windows by means of FluidSynth. However, on Mac OS X builds of VLC, the FluidSynth-Plugin is neither supplied nor built, rendering the How to inapplicable.
Fortunately, the plugin is part of the VLC source tree and can be built easily. You'll need to have the Developer Tools installed to do the software build.
The following shell script will take care of:
- Downloading the current (1.1.5) VLC source.
- Extracting and building the fluidsynth plugin.
- Moving the Plugin to the App's Plugin folder.
- Downloading and activating the GeneralUser GS soundfont.
You need to have installed:
- fluidsynth (by means of Homebrew, MacPorts, Fink, sources, etc.)
- pkg-config, to "find" the fluidsynth installation. (sources as above)
#!/bin/sh APP=/Applications/VLC.app VER=1.1.5 VLC=vlc-$VER MIDI=$VLC-midi echo 'Fetching sources.' curl -s -S -O http://kent.dl.sourceforge.net/project/vlc/$VER/$VLC.tar.bz2 tar xjf $VLC.tar.bz2 mkdir -p $MIDI cd $MIDI echo 'Preparing plugin.' cat >config.h <Makefile < /dev/null make install >/dev/null echo 'Fetching soundfont.' curl -s -S -O http://www.schristiancollins.com/soundfonts/GeneralUser_GS_1.43-FluidSynth.zip unzip -p GeneralUser_GS_1.43-FluidSynth.zip 'GeneralUser GS 1.43 FluidSynth/GeneralUser GS FluidSynth v1.43.sf2' >$APP/Contents/Resources/'GeneralUser GS FluidSynth v1.43.sf2' echo 'Activating soundfort' cat >>~/Library/Preferences/org.videolan.vlc/vlcrc <
[crarko adds: I haven't tested this one. The script is mirrored here.]
•
[14,131 views]

