[Top][All Lists]

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

Re: [fluid-dev] Default soundfont file: synth.default-soundfont

From: Matt Giuca
Subject: Re: [fluid-dev] Default soundfont file: synth.default-soundfont
Date: Sun, 5 May 2013 19:32:59 +1000

This is fantastic! I remember that conversation two years ago. Thanks for doing this.

On Sun, May 5, 2013 at 7:25 PM, David Henningsson <address@hidden> wrote:
I just pushed two commits to trunk that enables us to load a default soundfont file if none specified, as discussed two years ago [1].

The default soundfont file is a setting ("synth.default-soundfont"), and its default can in turn be customised in CMake.

Our upstream default is currently /usr/share/soundfonts/default.sf2, except on Windows where it is C:\soundfonts\default.sf2. I don't mind better suggestions (especially for Windows) if you have any.

The current logic is such that the default soundfont will be automatically loaded if
 1) invoked by the fluidsynth executable. Users of the fluidsynth library will not be affected, although they could read the setting and load that file if they wish.
 2) there is a midi file specified for playback
 3) there are no soundfonts specified for loading (or possibly if they failed to load)

I hope this would be smart enough to not load the default soundfont if not expected to. If a user of the fluidsynth executable wants to make absolutely sure the default soundfont is never loaded, (s)he can override the setting to "" (empty string).

// David

[1] lists.nongnu.org/archive/html/fluid-dev/2011-09/msg00036.html

fluid-dev mailing list

reply via email to

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