[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] Integration of FluidSynth in Polyphone
From: |
Tom M. |
Subject: |
Re: [fluid-dev] Integration of FluidSynth in Polyphone |
Date: |
Thu, 20 Sep 2018 20:08:11 +0200 |
The proper solution is to use the soundfont loader API, as pointed out by jjc:
http://www.fluidsynth.org/api/sfont_8h.html
That way you are in full control of what preset, instruments... are contained
in your "virtual soundfont" and how they trigger a noteon. For a usage example,
see SWAMI:
https://sourceforge.net/projects/swami/
It still uses fluidsynth 1.x API though. Find a bunch of patches attached that
port SWAMI to fluidsynth 2.0 API (untested, probably buggy and for
demonstration only).
Also note that fluidsynth provides functions for allocating and manipulating
single voices, mentioned by jjc in 1.2).
Tom
swami.tar.gz
Description: application/compressed-tar