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

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Sun, 21 Sep 2014 06:20:14 -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 jackburton):

 Replying to [comment:15 Pete]:
 > Sorry I wasn't around during your earlier postings, but there are still
 a few points arising.
 >
 > I think the time to retire big_synth.sy is ''now''.  It is a horribly
 inappropriate name now that we're using soundfonts rather than Headspace
 files.  And with /boot/system/data/synth being PM, the only way it could
 appear there is via the current timgmsoundfont.hpkg.  That can be updated
 in a hurry. I suppose big_synth.sy could be left there just in case
 anybody is using the current package, but the synth should first look for
 /boot/system/data/synth/synth.sf2.  I'd prefer to dump it right now, and
 let affected users install a revised package.

 Ok. The only problem I see is that B_BIG_SYNTH_FILE is a public define and
 is "/synth/big_synth.sy". Changing that will break binary compatibility
 with applications which open the synth file by their own (are there any?).
 I'm all for changing it, but I'd still like to know the implications.
 Moreover, I'd guess we should also add a B_NONPACKAGED_SYNTH_DIRECTORY
 where to put the "user" synth files.

 >
 > I would somewhat prefer to have a subdirectory 'synth' in settings, as I
 think it's clearer to the user.  Also it would provide a home for any
 future settings we might think of.  Maybe "synth.sf2" is specific enough,
 though.

 Done.

 > Why do you prefer B_USER_SETTINGS_DIRECTORY over
 B_SYSTEM_SETTINGS_DIRECTORY?  I rather considered the system default
 soundfont to belong in the latter.  Would be good, actually, to have both,
 I guess (thinking ahead to multi-user, or even if the user wanted to
 replace the default temporarily, without messing with the system link).

 The system soundfont is currently retrievable via big_synth.sy (or
 whatever we'll call that one).
 If the user installs a new soundfont (system-wide) the big_synth.sy
 symlink would point at the new soundfont.
 If we drop that one, we should definitely look into
 B_SYSTEM_SETTINGS_DIRECTORY (but only after B_USER_SETTINGS_DIRECTORY).

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

Other related posts: