fluidsynth
real-time software MIDI synthesizer using SoundFont 2
TLDR
Play a MIDI file with a SoundFont
SYNOPSIS
fluidsynth [options] [soundfont] [midifile...]
DESCRIPTION
FluidSynth is a real-time software MIDI synthesizer implementing the SoundFont 2 specifications. It synthesizes MIDI input or files into audio output using SoundFont instrument definitions.
The synthesizer can operate in multiple modes: playing MIDI files directly, running as a server for external MIDI input (keyboards, sequencers), or fast-rendering to audio files. An interactive shell allows real-time control of synthesis parameters.
FluidSynth supports various audio backends (PulseAudio, PipeWire, ALSA, JACK) and MIDI backends (ALSA sequencer, JACK MIDI), making it suitable for both standalone use and integration into larger audio setups.
PARAMETERS
-a, --audio-driver driver
Audio output driver (pulseaudio, pipewire, alsa, jack, etc.)-m, --midi-driver driver
MIDI input driver (alsa_seq, jack, etc.)-F, --fast-render file
Render to audio file as fast as possible (no real-time)-n, --no-midi-in
Disable MIDI input-i, --no-shell
Disable interactive shell-s, --server
Run as background server process-r, --sample-rate rate
Set audio sample rate (default: 44100)-g, --gain value
Set master gain (0.0-10.0, default: 0.2)-L, --audio-channels num
Number of audio channel pairs-R, --reverb 0|1
Enable or disable reverb-C, --chorus 0|1
Enable or disable chorus-o setting=value
Set arbitrary synth setting-h, --help
Display help message
CAVEATS
Requires at least one SoundFont file (.sf2 or .sf3) to produce sound. Many distributions provide default SoundFonts in /usr/share/soundfonts/. Real-time synthesis requires adequate CPU resources; complex SoundFonts may cause audio dropouts on slower systems. The -F fast-render option disables real-time audio output.
HISTORY
FluidSynth was created by Peter Hanappe in 2000 as an open-source software synthesizer. Originally named "IIWU Synth," it was renamed to FluidSynth and has grown into a widely-used MIDI synthesizer for Linux, macOS, and Windows. The project continues active development, with version 2.x introducing significant improvements to the API and audio quality.
