2003-03-11 16:56:45 +00:00
. \" hey, Emacs: -*- nroff -*-
2007-11-10 08:21:23 +00:00
. \" FluidSynth is free software; you can redistribute it and/or modify
2017-07-12 15:45:23 +00:00
. \" it under the terms of the GNU Lesser General Public License as published by
2017-07-12 15:53:03 +00:00
. \" the Free Software Foundation; either version 2.1 of the License, or
2003-03-11 16:56:45 +00:00
. \" (at your option) any later version.
. \"
. \" This program is distributed in the hope that it will be useful,
. \" but WITHOUT ANY WARRANTY; without even the implied warranty of
. \" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
. \" GNU General Public License for more details.
. \"
2017-07-12 15:45:23 +00:00
. \" You should have received a copy of the GNU Lesser General Public License
2017-10-12 15:32:05 +00:00
. \" along with this program; see the file LICENSE. If not, write to
2003-03-11 16:56:45 +00:00
. \" the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
. \"
2019-10-27 11:18:00 +00:00
.TH FluidSynth 1 "Oct 27, 2019"
2003-03-11 16:56:45 +00:00
. \" Please update the above date whenever this man page is modified.
. \"
. \" Some roff macros, for reference:
. \" .nh disable hyphenation
. \" .hy enable hyphenation
. \" .ad l left justify
. \" .ad b justify to both left and right margins (default)
. \" .nf disable filling
. \" .fi enable filling
. \" .br insert line break
. \" .sp <n> insert n+1 empty lines
. \" for manpage-specific macros, see man(7)
.SH NAME
2007-11-10 08:21:23 +00:00
FluidSynth \- a SoundFont synthesizer
2003-03-11 16:56:45 +00:00
.SH SYNOPSIS
2003-03-12 01:09:35 +00:00
.B fluidsynth
2003-03-11 16:56:45 +00:00
.RI [ options ]
2007-11-10 08:21:23 +00:00
[ SoundFonts ]
2003-03-11 16:56:45 +00:00
[ midifiles ]
.SH DESCRIPTION
2007-11-10 08:21:23 +00:00
\fB FluidSynth\fP is a real-time MIDI synthesizer based on the
2003-03-11 16:56:45 +00:00
SoundFont(R) 2 specifications. It can be used to render MIDI input or
MIDI files to audio. The MIDI events are read from a MIDI device. The
sound is rendered in real-time to the sound output device.
.PP
The easiest way to start the synthesizer is to give it a SoundFont on
2003-03-12 01:09:35 +00:00
the command line: 'fluidsynth soundfont.sf2'. fluidsynth will load the
2003-03-11 16:56:45 +00:00
SoundFont and read MIDI events from the default MIDI device using the
2007-11-10 08:21:23 +00:00
default MIDI driver. Once FluidSynth is running, it reads commands
2003-03-11 16:56:45 +00:00
from the stdin. There are commands to send MIDI events manually, to
2007-11-10 08:21:23 +00:00
load or unload SoundFonts, and so forth. All the available commands are
2003-03-11 16:56:45 +00:00
discussed below.
.PP
2007-11-10 08:21:23 +00:00
FluidSynth can also be used to play a list of MIDI files. Simply run
FluidSynth with the SoundFont and the list of MIDI files to play. In
2003-03-11 16:56:45 +00:00
this case you might not want to open the MIDI device to read external
2009-03-16 01:37:21 +00:00
events. Use the \- n option to deactivate MIDI input. If you also
want to deactivate the use of the shell, start FluidSynth with the \- i
option: 'fluidsynth \- ni soundfont.sf2 midifile1.mid midifile2.mid'.
2003-03-11 16:56:45 +00:00
.PP
2009-03-16 01:37:21 +00:00
Run fluidsynth with the \- \- help option to check for changes in the list of options.
2003-03-11 16:56:45 +00:00
.SH OPTIONS
2003-03-12 01:09:35 +00:00
\fB fluidsynth\fP accepts the following options:
2007-11-10 08:21:23 +00:00
2003-03-11 16:56:45 +00:00
.TP
2009-10-23 06:52:29 +00:00
.B \- a, \- \- audio\-driver=[label]
The audio driver to use. "\- a help" to list valid options
2003-03-11 16:56:45 +00:00
.TP
2007-11-10 08:21:23 +00:00
.B \- c, \- \- audio\-bufcount=[count]
Number of audio buffers
2003-03-11 16:56:45 +00:00
.TP
2009-10-23 06:52:29 +00:00
.B \- C, \- \- chorus
Turn the chorus on or off [0|1|yes|no, default = on]
.TP
2007-11-10 08:21:23 +00:00
.B \- d, \- \- dump
Dump incoming and outgoing MIDI events to stdout
2003-03-11 16:56:45 +00:00
.TP
2009-10-23 06:52:29 +00:00
.B \- E, \- \- audio\-file\-endian
Audio file endian for fast rendering or aufile driver ("\- E help" for list)
2009-04-25 15:17:15 +00:00
.TP
2007-11-10 08:21:23 +00:00
.B \- f, \- \- load\-config
Load command configuration file (shell commands)
2003-03-11 16:56:45 +00:00
.TP
2009-10-23 06:52:29 +00:00
.B \- F, \- \- fast\-render=[file]
Render MIDI file to raw audio data and store in [file]
2003-03-11 16:56:45 +00:00
.TP
2007-11-10 08:21:23 +00:00
.B \- g, \- \- gain
Set the master gain [0 < gain < 10, default = 0.2]
2003-03-11 16:56:45 +00:00
.TP
2009-10-23 06:52:29 +00:00
.B \- G, \- \- audio\-groups
Defines the number of LADSPA audio nodes
.TP
2007-11-10 08:21:23 +00:00
.B \- h, \- \- help
Print out this help summary
2003-03-11 16:56:45 +00:00
.TP
2007-11-10 08:21:23 +00:00
.B \- i, \- \- no\-shell
Don't read commands from the shell [default = yes]
2003-03-12 01:09:35 +00:00
.TP
2007-11-10 08:21:23 +00:00
.B \- j, \- \- connect\-jack\-outputs
Attempt to connect the jack outputs to the physical ports
2003-03-11 16:56:45 +00:00
.TP
2007-11-10 08:21:23 +00:00
.B \- K, \- \- midi\-channels=[num]
The number of midi channels [default = 16]
2003-03-11 16:56:45 +00:00
.TP
2007-11-10 08:21:23 +00:00
.B \- l, \- \- disable\-lash
Don't connect to LASH server
2003-03-11 16:56:45 +00:00
.TP
2009-10-23 06:52:29 +00:00
.B \- L, \- \- audio\-channels=[num]
The number of stereo audio channels [default = 1]
.TP
2007-11-10 08:21:23 +00:00
.B \- m, \- \- midi\-driver=[label]
2009-10-23 06:52:29 +00:00
The name of the midi driver to use. "\- m help" to list valid options.
2003-03-11 16:56:45 +00:00
.TP
2007-11-10 08:21:23 +00:00
.B \- n, \- \- no\-midi\-in
Don't create a midi driver to read MIDI input events [default = yes]
2003-03-11 16:56:45 +00:00
.TP
2007-11-10 08:21:23 +00:00
.B \- o
Define a setting, \- o name=value ("\- o help" to dump current values)
2003-03-12 01:09:35 +00:00
.TP
2009-10-23 06:52:29 +00:00
.B \- O, \- \- audio\-file\-format
Audio file format for fast rendering or aufile driver ("\- O help" for list)
.TP
2019-10-27 11:18:00 +00:00
.B \- p, \- \- portname=[label]
Set MIDI port name (alsa_seq, coremidi drivers)
.TP
.B \- q, \- \- quiet
Do not print welcome message or other informational output
2008-09-15 21:52:25 +00:00
.TP
2007-11-10 08:21:23 +00:00
.B \- r, \- \- sample\-rate
Set the sample rate
2003-03-11 16:56:45 +00:00
.TP
2009-10-23 06:52:29 +00:00
.B \- R, \- \- reverb
Turn the reverb on or off [0|1|yes|no, default = on]
.TP
2004-03-19 11:56:31 +00:00
.B \- s, \- \- server
2007-11-10 08:21:23 +00:00
Start FluidSynth as a server process
.TP
2009-10-23 06:52:29 +00:00
.B \- T, \- \- audio\-file\-type
Audio file type for fast rendering or aufile driver ("\T help" for list)
2004-03-19 11:56:31 +00:00
.TP
2003-03-11 16:56:45 +00:00
.B \- v, \- \- verbose
Print out verbose messages about midi events
2007-11-10 08:21:23 +00:00
.TP
2009-10-23 06:52:29 +00:00
.B \- V, \- \- version
Show version of program
.TP
2007-11-10 08:21:23 +00:00
.B \- z, \- \- audio\-bufsize=[size]
Size of each audio buffer
2009-10-23 06:52:29 +00:00
.SH SETTINGS
2017-10-18 16:03:44 +00:00
The settings to be specified with \- o are documented in the fluidsettings.xml hopefully shipped with this distribution or online at http://www.fluidsynth.org/api/fluidsettings.xml . We recommend viewing this file in a webbrowser, favourably Firefox.
2009-10-23 06:52:29 +00:00
2003-03-11 16:56:45 +00:00
.SH SHELL COMMANDS
.TP
.B GENERAL
.TP
.B help
2018-08-15 16:09:33 +00:00
Prints out list of help topics (type "help <topic>" to view details on available commands)
2007-11-10 08:21:23 +00:00
.TP
2003-03-11 16:56:45 +00:00
.B quit
Quit the synthesizer
.TP
.B SOUNDFONTS
.TP
.B load filename
Load a SoundFont
.TP
.B unload number
Unload a SoundFont. The number is the index of the SoundFont on the stack.
.TP
.B fonts
Lists the current SoundFonts on the stack
.TP
.B inst number
Print out the available instruments for the SoundFont.
.TP
.B MIDI MESSAGES
.TP
.B noteon channel key velocity
Send a note-on event
.TP
.B noteoff channel key
Send a note-off event
.TP
.B cc channel ctrl value
Send a control change event
.TP
.B prog chan num
Send program-change message
.TP
2003-03-12 01:09:35 +00:00
.B select chan sfont bank prog
2003-03-11 16:56:45 +00:00
Combination of bank-select and program-change
.TP
.B channels
Print out the presets of all channels.
.TP
.B AUDIO SYNTHESIS
.TP
.B gain value
Set the master gain (0 < gain < 5)
.TP
.B interp num
Choose interpolation method for all channels
.TP
.B interpc chan num
Choose interpolation method for one channel
.TP
.B REVERB
.TP
2018-10-06 11:51:40 +00:00
.B set synth.reverb.active [0|1]
2003-03-11 16:56:45 +00:00
Turn the reverb on or off
.TP
2018-10-05 16:10:10 +00:00
.B set synth.reverb.room-size num
2003-03-11 16:56:45 +00:00
Change reverb room size
.TP
2018-10-05 16:10:10 +00:00
.B set synth.reverb.damp num
2003-03-11 16:56:45 +00:00
Change reverb damping
.TP
2018-10-05 16:10:10 +00:00
.B set synth.reverb.width num
2003-03-11 16:56:45 +00:00
Change reverb width
.TP
2018-10-05 16:10:10 +00:00
.B set synth.reverb.level num
2003-03-11 16:56:45 +00:00
Change reverb level
.TP
.B CHORUS
.TP
2018-10-06 11:51:40 +00:00
.B set synth.chorus.active [0|1]
2003-03-11 16:56:45 +00:00
Turn the chorus on or off
.TP
2018-10-05 16:10:10 +00:00
.B set synth.chorus.nr n
2003-03-11 16:56:45 +00:00
Use n delay lines (default 3)
.TP
2018-10-05 16:10:10 +00:00
.B set synth.chorus.level num
2003-03-11 16:56:45 +00:00
Set output level of each chorus line to num
.TP
2018-10-05 16:10:10 +00:00
.B set synth.chorus.speed num
2003-03-11 16:56:45 +00:00
Set mod speed of chorus to num (Hz)
.TP
2018-10-05 16:10:10 +00:00
.B set synth.chorus.depth num
2003-03-11 16:56:45 +00:00
Set chorus modulation depth to num (ms)
.TP
.B MIDI ROUTER
.TP
.B router_default
Reloads the default MIDI routing rules (input channels are mapped 1:1
to the synth)
.TP
.B router_clear
Deletes all MIDI routing rules.
.TP
.B router_begin [note|cc|prog|pbend|cpress|kpress]
Starts a new routing rule for events of the given type
.TP
.B router_chan min max mul add
Limits the rule for events on min <= chan <= max.
2009-01-10 20:23:13 +00:00
If the channel falls into the window, it is multiplied by 'mul', then 'add' is added.
2003-03-11 16:56:45 +00:00
.TP
.B router_par1 min max mul add
Limits parameter 1 (for example note number in a note events). Similar
to router_chan.
.TP
.B router_par2 min max mul add
Limits parameter 2 (for example velocity in a note event). Similar to router_chan
.TP
.B router_end
Finishes the current rule and adds it to the router.
.TP
.B Router examples
.TP
router_clear
.TP
router_begin note
.TP
router_chan 0 7 0 15
.TP
router_end
.TP
Will accept only note events from the lower 8 MIDI
channels. Regardless of the channel, the synthesizer plays the note on
ch 15 (synthchannel=midichannel*0+15)
.TP
router_begin cc
.TP
router_chan 0 7 0 15
.TP
router_par1 1 1 0 64
.TP
router_add
Configures the modulation wheel to act as sustain pedal (transforms CC
1 to CC 64 on the lower 8 MIDI channels, routes to ch 15)
.SH AUTHORS
Peter Hanappe <hanappe@fluid-synth.org>
.br
Markus Nentwig <nentwig@users.sourceforge.net>
.br
Antoine Schmitt <as@gratin.org>
.br
Josh Green <jgreen@users.sourceforge.net>
.br
Stephane Letz <letz@grame.fr>
2018-08-15 16:09:33 +00:00
.br
Tom Moebert <tom[d0t]mbrt[ÄT]gmail[d0t]com>
2003-03-11 16:56:45 +00:00
Please check the AUTHORS and THANKS files for all credits
2003-03-13 08:07:16 +00:00
.SH DISCLAIMER
2003-03-11 16:56:45 +00:00
SoundFont(R) is a registered trademark of E-mu Systems, Inc.