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

Bug#929182: marked as done (fluidsynth: no sound by default - soundfont location doesn't exist)



Your message dated Wed, 11 Dec 2019 22:16:43 +0100
with message-id <aeda5e070afdd2551b70dd029cddd6804e72e3ce.camel@debian.org>
and subject line Re: fluidsynth: no sound by default - soundfont location doesn't exist
has caused the Debian Bug report #929182,
regarding fluidsynth: no sound by default - soundfont location doesn't exist
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
929182: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929182
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: fluidsynth
Version: 1.1.11-1
Severity: wishlist
Tags: upstream

Dear Maintainer,

I was trying to play a midi file with:

fluidsynth -a pulseaudio sample.mid

but this can never work.

fluidsynth tries to get the soundfont from /usr/share/soundfonts/default.sf2 which is hardcoded into the executable, but this directory doesn't exist under Debian. I thought I might be able to override the default by modifying /etc/default/fluidsynth but it doesn't appear that that file gets read at all (I used strace and looked for open() and openat() calls). It looks like fluidsynth can read config from $HOME/.fluidsynth or /etc/fluidsynth.conf but I couldn't work out how to set the soundfont - there is a setting "synth.default-soundfont" but that appears to be hard-coded in src/synth/fluid_synth.c

I can obviously fix the problem by creating a link from /usr/share/soundfonts/default.sf2 to e.g. /usr/share/sounds/sf2/FluidR3_GM.sf2 but this isn't very satisfactory.

Is there a mechanism in Debian for setting a default soundfount? This could be used by gstreamer too. My suggestion would be to add a default soundfont to e.g. /etc/alteratives and then modify the hard-coded path in cmake_admin/DefaultDirs.cmake to use it.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fluidsynth depends on:
ii  libc6           2.28-5
ii  libfluidsynth1  1.1.11-1

Versions of packages fluidsynth recommends:
ii  qsynth  0.5.0-2

fluidsynth suggests no packages.

-- Configuration Files:
/etc/default/fluidsynth changed:
SOUND_FONT=/usr/share/sounds/sf2/FluidR3_GM.sf2


-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1.1.11-4

This should be fixed since at least 1.1.11-4.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: