EX / 3rd Party Plugins / FluidSynth

NB: these examples work only if you have the associated plugin installed. Remember to issue Rescan Plugins… after installing any new plugins.

Right-click to copy examples to your workspace


Intro

FluidSynth is a CLAP plugin built atop the eponymous 3rd Party soundfont synthesis engine. We include it in the Hz plugins package because it's generally useful in preparing examples and documentation.

allprogs.js

This example plays notes from a scale for each of 128 programs (voices) in a soundfile. You can edit this file to load your own sound fonts, so it's a good way to explore them. Here we randomly play either the default soundfont or a custom one. You can find many sf2 files online and can find the one used in the example here.

To learn more about installing soundfonts on your system, please read the details.

await fluid.LoadPreset("VintageDreamsWaves-v2.sf2");

See Also

In-C Example . Perpetuum Example

FluidSynth.org

home .. topics .. interface .. reference .. examples .. tipjar