Software synthesizer based on the SoundFont 2 specifications
Go to file
Marisa Heit 2867c8d8db Fix potential race condition when creating detached threads 2022-07-25 21:15:29 -05:00
.azure Merge branch '2.2.x' into master 2022-06-27 17:43:09 +02:00
.circleci Rewrite Android CI Pipeline (#875) 2021-05-08 18:31:20 +02:00
.github Fix CI builds after update (#1114) 2022-06-10 09:47:08 +02:00
.obs Attempt to fix OBS Ci build 2022-01-04 16:19:30 +01:00
cmake_admin Fix test cases 2022-07-24 22:47:32 -05:00
contrib Debian packaging adapted to GNUInstallDirs 2021-09-15 22:56:05 +02:00
doc Merge remote-tracking branch 'origin/2.2.x' into master 2022-07-10 18:18:30 +02:00
include Add warnings and extend documentation for issue #1120 (#1126) 2022-06-27 17:26:15 +02:00
sf2 Add more test cases for UTF8 filenames (#889) 2021-05-12 17:41:55 +02:00
src Fix potential race condition when creating detached threads 2022-07-25 21:15:29 -05:00
test Fix test cases 2022-07-24 22:47:32 -05:00
test-android Add flexibility on abiFilters. 2021-06-14 03:18:15 +09:00
.cirrus.yml Fix FreeBSD CI 2021-02-27 16:26:56 +01:00
.clang-format cmake: setup formatting targets 2018-06-24 12:59:46 +02:00
.clang-tidy Silence clang-tidy's unsafe string operations 2019-07-11 10:16:22 +02:00
.gitignore Use native Win32 API instead of glib on Windows 2022-07-24 22:47:32 -05:00
AUTHORS Restore support for Mac OS X 10.5 and earlier (#947) 2021-07-28 10:20:48 +02:00
CMakeLists.txt Use native Win32 API instead of glib on Windows 2022-07-24 22:47:32 -05:00
CONTRIBUTING.md Add documentation hints to style guide 2020-11-14 16:59:25 +01:00
ChangeLog Update URLs to HTTPS (#796) 2021-03-08 16:46:36 +01:00
FluidSynthConfig.cmake.in fixes and simplifications 2021-09-01 21:00:30 +02:00
LICENSE move README and LICENSE to top-level dir 2017-07-27 12:11:26 +02:00
README.cmake.md Update and rename README.cmake to README.cmake.md 2018-06-15 17:47:12 +02:00
README.md Update README.md (#1015) 2022-01-04 16:48:29 +01:00
THANKS Update URLs to HTTPS (#796) 2021-03-08 16:46:36 +01:00
TODO Cleanup TODO 2020-02-16 15:59:11 +01:00
fluidsynth.conf.in add systemd service files 2018-02-20 21:31:35 +01:00
fluidsynth.pc.in Fix static mingw linking issues (#990) 2021-10-17 18:12:49 +02:00
fluidsynth.service.in Adopting GNUInstallDirs 2021-09-15 22:56:05 +02:00
sonar-project.properties Add SonarQube static code analysis (#671) 2020-09-06 23:43:18 +02:00

README.md

FluidSynth

Build Status
Linux FluidSynth Linux
FreeBSD Build Status
Windows Build Status
Windows (vcpkg) Build Status
MacOSX Build Status
Android Build Status

FluidSynth is a cross-platform, real-time software synthesizer based on the Soundfont 2 specification.

FluidSynth generates audio by reading and handling MIDI events from MIDI input devices by using a SoundFont. It is the software analogue of a MIDI synthesizer. FluidSynth can also play MIDI files.

SonarQube Quality Gate Status Language grade: C/C++ OHLOH Project Stats

Documentation

The central place for documentation and further links is our wiki here at GitHub:

https://github.com/FluidSynth/fluidsynth/wiki

If you are missing parts of the documentation, let us know by writing to our mailing list. Of course, you are welcome to edit and improve the wiki yourself. All you need is an account at GitHub. Alternatively, you may send an EMail to our mailing list along with your suggested changes. Further information about the mailing list is available in the wiki as well.

Latest information about FluidSynth is also available on the web site at https://www.fluidsynth.org/.

License

The source code for FluidSynth is distributed under the terms of the GNU Lesser General Public License, see the LICENSE file. To better understand the conditions how FluidSynth can be used in e.g. commercial or closed-source projects, please refer to the LicensingFAQ in our wiki.

Building from source

For information on how to build FluidSynth from source, please refer to our wiki.


Historical background

Why did we do it

The synthesizer grew out of a project, started by Samuel Bianchini and Peter Hanappe, and later joined by Johnathan Lee, that aimed at developing a networked multi-user game.

Sound (and music) was considered a very important part of the game. In addition, users had to be able to extend the game with their own sounds and images. Johnathan Lee proposed to use the Soundfont standard combined with intelligent use of midifiles. The arguments were:

  • Wavetable synthesis is low on CPU usage, it is intuitive and it can produce rich sounds

  • Hardware acceleration is possible if the user owns a Soundfont compatible soundcard (important for games!)

  • MIDI files are small and Soundfont2 files can be made small thru the intelligent use of loops and wavetables. Together, they are easier to downloaded than MP3 or audio files.

  • Graphical editors are available for both file format: various Soundfont editors are available on PC and on Linux (Smurf!), and MIDI sequencers are available on all platforms.

It seemed like a good combination to use for an (online) game.

In order to make Soundfonts available on all platforms (Linux, Mac, and Windows) and for all sound cards, we needed a software Soundfont synthesizer. That is why we developed FluidSynth.

Design decisions

The synthesizer was designed to be as self-contained as possible for several reasons:

  • It had to be multi-platform (Linux, macOS, Win32). It was therefore important that the code didn't rely on any platform-specific library.

  • It had to be easy to integrate the synthesizer modules in various environments, as a plugin or as a dynamically loadable object. I wanted to make the synthesizer available as a plugin (jMax, LADSPA, Xmms, WinAmp, Director, ...); develop language bindings (Python, Java, Perl, ...); and integrate it into (game) frameworks (Crystal Space, SDL, ...). For these reasons I've decided it would be easiest if the project stayed very focused on its goal (a Soundfont synthesizer), stayed small (ideally one file) and didn't dependent on external code.