fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Getting all instrument names from a loaded soundfont fil


From: Brad Stewart
Subject: Re: [fluid-dev] Getting all instrument names from a loaded soundfont file
Date: Thu, 11 Jul 2019 08:54:01 -0700
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2


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
<address@hidden> wrote:
On Thu, Jul 11, 2019 at 11:30 AM Reinhold Hoffmann
<address@hidden> 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev


reply via email to

[Prev in Thread] Current Thread [Next in Thread]