unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: Timotej Lazar <timotej.lazar@araneo.si>
Cc: 38941@debbugs.gnu.org, Ricardo Wurmus <rekado@elephly.net>
Subject: [bug#38941] [PATCH 0/5] Support fluidsynth and opus in sdl(2)-mixer, and other tweaks
Date: Sun, 5 Jan 2020 13:23:44 +0100	[thread overview]
Message-ID: <20200105132306.32d6f294@scratchpost.org> (raw)
In-Reply-To: <87v9pqdwb1.fsf@araneo.si>

[-- Attachment #1: Type: text/plain, Size: 1852 bytes --]

Hi,

thanks for the patches!

On Sun, 05 Jan 2020 11:36:34 +0100
Timotej Lazar <timotej.lazar@araneo.si> wrote:

> The MIDI backends need additional runtime configuration. Fluidsynth
> requires a soundfont to be installed and specified when running a
> program that uses sdl-mixer, e.g.:
> 
>     SDL_SOUNDFONTS=/gnu/store/…-fluid-3-2.1/share/soundfonts/FluidR3Mono_GM.sf3
> 
> If this is not set, the bundled timidity backend is used, which can use
> the freepats samples. Configuration must be specified since only files
> under /etc are checked by default, e.g.:
> 
>     TIMIDITY_CFG=/gnu/store/…-freepats-20060219/share/freepats/freepats.cfg

> I’m not sure if and how default values for these vars can be specified
> for all programs using sdl-mixer, and I would prefer to leave the choice
> of backend to the user anyway.

> However, we should probably document them somewhere. Would a comment be enough?

Let's put it in the description of the sdl-mixer package.
After all, it would document the usage of an interface that sdl-mixer provides.

> Dependent packages can then wrap
> binaries to set required paths if needed.
> 
> Alternatively we can add freepats and/or fluid as inputs to sdl(2)-mixer
> and patch the source to look for them in the store.

How often is it that a user switches MIDI soundfonts?

Does a user expect a default soundfont?

That would tell us whether we should provide such a default (and increase
the closure size of sdl2-mixer considerably, maybe?).

There's also a procedure "sdl-union" which already does sdl magic.  We could
also add some stuff for MIDI there, maybe.

In the mean time, I've applied your patchset to master since it only adds
functionality and only has few dependents.

Could you provide an update to the description or similar as a patch?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2020-01-05 12:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 10:36 [bug#38941] [PATCH 0/5] Support fluidsynth and opus in sdl(2)-mixer, and other tweaks Timotej Lazar
2020-01-05 10:45 ` [bug#38941] [PATCH 1/5] gnu: sdl-mixer: Use correct inputs for MOD file support Timotej Lazar
2020-01-05 10:45   ` [bug#38941] [PATCH 2/5] gnu: sdl-mixer: Remove unused configure flag Timotej Lazar
2020-01-05 10:45   ` [bug#38941] [PATCH 3/5] gnu: sdl2-mixer: Fix configure flags Timotej Lazar
2020-01-05 10:45   ` [bug#38941] [PATCH 4/5] gnu: sdl-mixer: Enable fluidsynth MIDI backend Timotej Lazar
2020-01-05 10:45   ` [bug#38941] [PATCH 5/5] gnu: sdl2-mixer: Enable opus support Timotej Lazar
2020-01-05 12:23 ` Danny Milosavljevic [this message]
2020-01-06 11:12   ` [bug#38941] [PATCH 0/5] Support fluidsynth and opus in sdl(2)-mixer, and other tweaks Timotej Lazar
2020-12-13 12:57 ` Christopher Baines
2020-12-13 13:01   ` bug#38941: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200105132306.32d6f294@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=38941@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    --cc=timotej.lazar@araneo.si \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).