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

Bug#1017960: libdrumstick 2.7.1-1 causes vmpk to stop making sound



On domingo, 28 de agosto de 2022 23:52:09 (CEST) Ash Joubert wrote:
> I can confirm that, after upgrading libdrumstick packages to 2.7.1-1,
> configuring a FluidSynth MIDI connection restores functionality. The
> missing step was to configure a sound font: the default "default.sf2"
> does not exist. You might consider enhancing VMPK by changing the
> default or autodetecting or even recommending a well-known sound font
> package.

The name "default.sf2" is the default value of a setting from the 
fluidsynth synthesizer:
https://www.fluidsynth.org/api/settings_synth.html#settings_synth_default-soundfont

This setting can be changed at fluidsynth build time, and Debian sets it to 
"/usr/share/sounds/sf3/default-GM.sf3". Upon installing the libfluidsynth3 
library there is a dependency on the package "timgm6mb-soundfont" which 
installs "/usr/share/sounds/sf2/TimGM6mb.sf2", so maybe you shouldn't need 
to look for more soundfonts after all. But all this smells like another 
different issue that we need to examine in detail.

The idea behind the name "default.sf2" was to be a symlink (created by the 
users, the admins, or the packagers) to some real soundfont file installed 
on the system. There are a few sf2 files available in Debian:

https://packages.debian.org/search?
suite=sid&arch=any&searchon=contents&keywords=sf2

My favorite would be "GeneralUser-v1.47.sf2" ( https://
schristiancollins.com/generaluser.php ) because the small size (only 30Mb) 
and high sound quality. In Debian it is installed by a package named 
"minuet-data", and placed at "/usr/share/minuet/soundfonts/". You may 
observe that there is little consistency in locations between several 
packages. I am not inclined to implement any kind of autodetection. And 
recommendations are managed by the distribution, like the integration 
between components.

Regards,
Pedro


Reply to: