libfluidsynth  2.3.5
MIDI driver settings

midi.autoconnect

Type
Boolean (int)
Values
0, 1
Default
0 (FALSE)

If 1 (TRUE), automatically connects FluidSynth to available MIDI input ports. alsa_seq, coremidi and jack are currently the only drivers making use of this.

midi.driver

Type
Selection (str)
Options
alsa_raw, alsa_seq, coremidi, jack, midishare, oss, winmidi
Default
alsa_seq (Linux),
winmidi (Windows),
jack (Mac OS X)

The MIDI system to be used.

midi.realtime-prio

Type
Integer (int)
Min - Max
0 - 99
Default
50

Sets the realtime scheduling priority of the MIDI thread (0 disables high priority scheduling). Linux is the only platform which currently makes use of different priority levels. Drivers which use this option: alsa_raw, alsa_seq, oss

midi.portname

Type
String (str)
Default
(empty string)

Used by coremidi and alsa_seq drivers for the portnames registered with the MIDI subsystem.

midi.alsa.device

Type
String (str)
Default
default

ALSA MIDI hardware device to use for RAW ALSA MIDI driver (not to be confused with the MIDI port). Since fluidsynth 2.3.0 this setting will be populated with available devices when fluidsynth starts up.

midi.alsa_seq.device

Type
String (str)
Default
default

ALSA sequencer hardware device to use for ALSA sequencer driver (not to be confused with the MIDI port).

midi.alsa_seq.id

Type
String (str)
Default
pid

ID to use when registering ports with the ALSA sequencer driver. If set to "pid" then the ID will be "FLUID Synth (PID)", where PID is the FluidSynth process ID of the audio thread otherwise the provided string will be used in place of PID.

midi.coremidi.id

Type
String (str)
Default
pid

Client ID to use for CoreMIDI driver. 'pid' will use process ID as port of the client name.

midi.jack.server

Type
String (str)
Default
(empty string)

Jack server to connect to for Jack MIDI driver. If an empty string then the default server will be used.

midi.jack.id

Type
String (str)
Default
fluidsynth-midi

Client ID to use with the Jack MIDI driver. If jack is also used as audio driver and "midi.jack.server" and "audio.jack.server" are equal, this setting will be overridden by "audio.jack.id", because a client cannot have multiple names.

midi.oss.device

Type
String (str)
Default
/dev/midi

The hardware device to use for OSS MIDI driver (not to be confused with the MIDI port).

midi.winmidi.device

Type
String (str)
Default
default

The hardware device to use for Windows MIDI driver (not to be confused with the MIDI port). Multiple devices can be specified by a list of devices index separated by a semicolon (e.g "2;0", which is equivalent to one device with 32 MIDI channels).