[haiku-bugs] Re: [Haiku] #12325: Not obvious that user has to select installed Soundfont

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Mon, 24 Aug 2015 07:28:31 -0000

#12325: Not obvious that user has to select installed Soundfont
---------------------------------+----------------------------
Reporter: Pete | Owner: jackburton
Type: bug | Status: assigned
Priority: normal | Milestone: Unscheduled
Component: Preferences/Media | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
---------------------------------+----------------------------

Comment (by jackburton):

Actually, when no sound font is selected, it should fall back to using
TimGM6mb.sf2 (check BSoftSynth::SetDefaultInstrumentsFile()) . If it's
not, then it's a bug.
The code in there should also select a "random" soundfont, if that one is
not present.
About the part about writing the setting file... that was the original
plan. Please check ticket #9920, especially Bonefish's comment n. 36, and
also the TODO in the beforementioned method.
After I worked on the code, though, I failed to find a nice way to do it.
Especially, where should it be done ?
Is it correct that BSoftSynth::SetDefaultInstrumentFile() also touches
user settings ?
Alternatively, it could be done in the Media/Midi preflet, but then the
user would start it at least once for the soundfont to be selected. Then
it would work like this: No sound from midi apps -> Start Media Preflet ->
Working Sound. Better, but not very nice either.

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

Other related posts: