← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1832417] [NEW] wrong soundfont path

 

Public bug reported:

libfliudsynth provides an API to locate the default
soundfonts. Its like below:

ret = fluid_settings_dupstr(settings, "synth.default-soundfont", &sfont);
if (ret == 0 || access(sfont, R_OK) != 0) {
    ret = fluid_synth_sfload(synth, sfont, TRUE);
}

Under ubuntu it returns
/usr/share/soundfonts/default.sf2
but its unclear what package provides this,
if any. At least not fluid-soundfont-gm.

This font path can be specified during fluidsynth
build. The valid one under ubuntu seems to be
/usr/share/sounds/sf2/FluidR3_GM.sf2
But as this font may not be installed, I would
suggest fluidsynth to check against the pre-defined
list of pathes, and return error if nothing is found.

** Affects: fluidsynth (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to fluidsynth in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1832417

Title:
  wrong soundfont path

Status in fluidsynth package in Ubuntu:
  New

Bug description:
  libfliudsynth provides an API to locate the default
  soundfonts. Its like below:

  ret = fluid_settings_dupstr(settings, "synth.default-soundfont", &sfont);
  if (ret == 0 || access(sfont, R_OK) != 0) {
      ret = fluid_synth_sfload(synth, sfont, TRUE);
  }

  Under ubuntu it returns
  /usr/share/soundfonts/default.sf2
  but its unclear what package provides this,
  if any. At least not fluid-soundfont-gm.

  This font path can be specified during fluidsynth
  build. The valid one under ubuntu seems to be
  /usr/share/sounds/sf2/FluidR3_GM.sf2
  But as this font may not be installed, I would
  suggest fluidsynth to check against the pre-defined
  list of pathes, and return error if nothing is found.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fluidsynth/+bug/1832417/+subscriptions


Follow ups