[haiku-bugs] Re: [Haiku] #9920: BSynth upgrade

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 23 Sep 2014 07:34:53 -0000

#9920: BSynth upgrade
-----------------------------+-------------------------
   Reporter:  Pete           |      Owner:  korli
       Type:  enhancement    |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  Kits/Midi Kit  |    Version:  R1/alpha4.1
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  1              |   Platform:  All
-----------------------------+-------------------------

Comment (by pulkomandy):

 I don't see any difference between sound-fonts and truetype fonts (hence
 the name ;)) and I think they should work the same way. We have some fonts
 packaged in our repos because it is a convenient way to install them, and
 because some other apps may depend on them. But, there should also be
 support for non-packaged fonts in /boot/system/non-packaged/data.

 Apps can use the new BPathFinder API to look for font files in all
 relevant directories, and ideally each app would allow picking a custom
 soudfont file. That part will work ok once apps are updated to use
 BPathFinder, but it leaves us with two problems:

  * Legacy apps won't use BPathFinder (this is a new API introduced with
 package managemet), and even worse, they may still use the hardcoded
 B_SYNTH_DIRECTORY. We should make sure there is a symlink to a soundfont
 at the expected place there. Any soundfont will do, this is legacy support
 only and does not need to be configurable. The default soundfont package
 can provide the symlink.
  * We still want a "no-brainer" way to play MIDI files for example in
 MidiPlayer without the need for configuring anything. This can be made
 configurable with a settings file, symlink, preference panel or whatever;
 but there must still be a fallback so that you can play MIDI files on a
 fresh Haiku install. For this, we need at least one packaged soundfont on
 which the Haiku package can depend, and we need a default value in the
 settings file or in BSynth, so the default sound font is used when the
 settings file is missing.

--
Ticket URL: <https://dev.haiku-os.org/ticket/9920#comment:34>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: