There are modules available in Python that allow you to quickly parse sound fonts. For example at pypi.org you can find /sf2utils/ and /pyFluidSynth/ (which provides bindings to FludiSynth).

Google "python soundfont" for more info.

--Brad



On 7/11/2019 8:13 AM, Kjetil Matheussen wrote:
On Thu, Jul 11, 2019 at 11:34 AM Kjetil Matheussen
<k.s.matheus...@gmail.com> wrote:
On Thu, Jul 11, 2019 at 11:30 AM Reinhold Hoffmann
<reinh...@notation.com> wrote:
Hi Kjetil,

Thanks for the immediate response. libgig and the code sample really looks
good, simple and easy. However, libgig is under the GPL license. Our
software is a commercial software where we use the libfluidsynth library
strictly under the LGPL license. libgig does not offer the LGPL license but
only the GPL license which we therefore cannot use.

It's probably not much work parsing the soundfont files manually...
Here's the spec: http://www.synthfont.com/sfspec24.pdf
It's a common RIFF structure. In my experience, writing code to read
and write riff files directly are often faster than trying to
understand a 3rd party API.

_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to