The Patchbay_

pyFluidSynth

Python bindings for FluidSynth to render MIDI notes through SoundFont instruments.

LanguagePython
CategoryMIDI tools
LicenseLGPL-2.1-or-later
PlatformsmacOS Windows Linux Android
Installpip install pyfluidsynth
First released2008
MaintainedYes
LinksWebsite · Source

Strengths

Limitations

Best for

Programmatically playing MIDI/notes through SoundFont software synthesis.

Minimal example

import fluidsynth
fs = fluidsynth.Synth()
fs.start()
sfid = fs.sfload('example.sf2')
fs.program_select(0, sfid, 0, 0)
fs.noteon(0, 60, 100)

Alternatives to pyFluidSynth

Midopretty_midiMIDIUtilpython-rtmidi

← Back to all tools