#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:34 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. > I agree with you. (about the default soundfont and the need for legacy apps to find soundfonts) There is already such mechanism in place, since BeOS. BSoftSynth will load a "Default" soundfont on creation, already. The way the default soundfont is selected is an implementation detail. Currently, we inherited from BeOS the need to create a symlink called big_synth.sy. What I have in mind is this: Like fonts, or any other kind of data, there will be four places where soundfonts could be placed: /boot/system/data/synth /boot/system/non-packaged/data/synth /home/config/data/synth /home/config/non-packaged/data/synth The midi preflet (or the view in the media preflet) which I already started writing will present a list of the soundfonts found in those directories, plus (if needed, I don't have a strong opinion on this, but I guess it could be handy) an "Import Soundfont" button, to be able to choose a soundfont from any location, which will be then copied into /home/config/non-packaged/data/synth. The user could then choose the preferred soundfont, and the preflet will write a setting file into /home/config/settings. BSoftSynth will parse this setting file and load the user selected font. If the file is not present, it will load the system settings file (if present). Otherwise it will load a "default" system soundfont. How the "default" system soundfont (the one loaded when there is no settings" could be determined by a symbolic link in /boot/system/data/synth. This is what big_synth.sy does now. Since it doesn't seem to be used anywhere, I'd even rename this to"default.sf2". This link would be created by the soundfont packages. The last installed soundfont could owerwrite the default preference, or could leave it untouched, I don't know. -- Ticket URL: <https://dev.haiku-os.org/ticket/9920#comment:35> Haiku <https://dev.haiku-os.org> Haiku - the operating system.