FluidSynth 1.0 — Developer Documentation

Peter Hanappe

Abstract

FluidSynth is a software synthesizer based on the SoundFont 2 specifications. The synthesizer is available as a shared object that can easily be reused in any application that wants to use wavetable synthesis. This documents explains the basic usage of FluidSynth. Some of the more advanced features are not yet discussed but will be added in future versions.


Table of Contents

Using the synthesizer as a plugin
License
Creating and changing the settings
Creating the synthesizer
Creating the audio driver
Using the synthesizer without an audio driver
Loading and managing SoundFonts
Sending MIDI events
Advanced features, not yet documented

Using the synthesizer as a plugin

FluidSynth can easily be embedded in an application. It has a main header file, fluidsynth.h, and one dynamically linkable library. FluidSynth runs on Linux, MacOS 9, MacOS X, and the Win32 platforms. It has audio and midi drivers for all mentioned platforms but you can use it with your own drivers if your application already handles audio and MIDI IO. This document explains the basic usage of FluidSynth and provides and example that you can reuse.