# FluidSynth

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/fluidsynth/

It reads 2 files, none of them required: it starts games without them.

**About this profile**

| Detail | Value |
|---|---|
| Type | utility |
| Classification | Other |
| Source | [https://github.com/FluidSynth/fluidsynth](https://github.com/FluidSynth/fluidsynth) |
| Version | v2.0.6, the tag at this revision |
| Revision | [FluidSynth/fluidsynth@f78486a50bd7](https://github.com/FluidSynth/fluidsynth/commit/f78486a50bd785200412ea16434b38edc4a45a6c) |
| Revision held | EmuELEC, the only platform whose launch code starts it, builds this release (EmuELEC packages/sx05re/tools/sound/fluidsynth-git/package.mk:5-9 at tag v4.8, PKG_SHA256 e97e63c1). Later commits are not part of that build. |
| Build file | EmuELEC `packages/sx05re/tools/sound/fluidsynth-git/package.mk` at `v4.8` sets `PKG_VERSION` |
| Profiled | 2026-11-09 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/fluidsynth.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/fluidsynth.json) |
| Cores | fluidsynth |

**Technical notes**

A SoundFont 2 software synthesizer run as a program. -s starts its TCP command server and -i turns off the command shell on the terminal. ref: [`src/fluidsynth.c:543-544`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/src/fluidsynth.c#L543-L544), [`src/fluidsynth.c:635-637`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/src/fluidsynth.c#L635-L637)

The program names no SoundFont. Every non-option argument whose header reads RIFF then sfbk is loaded as a SoundFont, in argument order. An argument that cannot be opened is skipped with a message and the synth keeps running with no instrument loaded. ref: [`src/fluidsynth.c:764-778`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/src/fluidsynth.c#L764-L778), [`src/sfloader/fluid_sffile.c:335-375`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/src/sfloader/fluid_sffile.c#L335-L375)

At start it executes one command file: the -f argument, else $HOME/.fluidsynth, else /etc/fluidsynth.conf. The second name is built whenever HOME is set, so the system file is read only without HOME. ref: [`src/fluidsynth.c:870-884`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/src/fluidsynth.c#L870-L884), [`src/bindings/fluid_cmd.c:608-648`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/src/bindings/fluid_cmd.c#L608-L648)

## Files

**2 files**: 0 required, 2 optional.

In this collection: 0 in repo, 0 missing and 2 unsourceable.

## Optional

### `SC-55.sf2` optional unsourceable

SoundFont handed on the command line

- The code opens no file by name and accepts any SoundFont 2 file. The entry name is a label for the file EmuELEC names on the command line (EmuELEC packages/sx05re/emuelec/bin/emuelec-utils:67 at v4.8), which no EmuELEC package installs or downloads.
- Not collected yet: user supplied, no canonical file ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/))

**Source**

- Source: [`src/fluidsynth.c:764-778`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/src/fluidsynth.c#L764-L778), [`src/sfloader/fluid_sffile.c:335-375`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/src/sfloader/fluid_sffile.c#L335-L375)

### `default.sf2` optional unsourceable

SoundFont named by synth.default-soundfont

- DEFAULT_SOUNDFONT is ${CMAKE_INSTALL_PREFIX}/share/soundfonts/default.sf2 outside Windows. It is loaded only when MIDI files are played and no SoundFont was loaded from the command line.
- Not collected yet: a path the build fixes for a SoundFont the system installs. FluidSynth ships none, and a same-named file of another program must not stand in ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/))

**Source**

- Source: [`cmake_admin/DefaultDirs.cmake:4-11`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/cmake_admin/DefaultDirs.cmake#L4-L11), [`src/synth/fluid_synth.c:212-214`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/src/synth/fluid_synth.c#L212-L214), [`src/fluidsynth.c:837-859`](https://github.com/FluidSynth/fluidsynth/blob/f78486a50bd785200412ea16434b38edc4a45a6c/src/fluidsynth.c#L837-L859)

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
