[Top][All Lists]

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

Re: [fluid-dev] Config files ?

From: David Henningsson
Subject: Re: [fluid-dev] Config files ?
Date: Tue, 09 Sep 2014 07:54:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

(Sorry, forgot to answer this one)

On 2014-08-26 20:45, Stefan Sauer wrote:
On 08/26/2014 03:42 PM, David Henningsson wrote:
On 2014-08-25 13:49, Stefan Sauer wrote:
I am using fluidsynth as a library in a gstreamer plugin. Therefore it's
me who has to configure the synthfont to use. If we don't want to do
such a specification (of a sf2 path), this could also be inmplemented in
fluidsynth as a utility function. That spares apps to re-implement this.

Not sure exactly what you want such a utility function to do? Look for
soundfonts in a set of directories?

The fluid_settings_getstr("synth.default-soundfont") gives you a
filename that you can present to the user as a first soundfont
suggestion - that the user should be able to override, of course.

 From where would fluid_settings_getstr("synth.default-soundfont") get
that default sf2 if the app does not pass it?

It is set to /usr/share/soundfonts/default.sf2 by upstream. Distros can customise this at build time (e g, Debian derivatives put their soundfonts in /usr/share/sounds/sf2/ instead).

And yes, I'd like to get a *list* of sound fonts.

Currently this is just one file, but we could extend it to be, say, a semi-colon separated list of files instead.

// David

reply via email to

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