New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Look for soundfonts by default in /usr/share/sounds/sf2 #453
Comments
|
fluidsynth automatically loads the soundfont specified by
in the fluid shell to see its default value. Once configured you just type
Also, I recommend to avoid using sudo. |
|
I am using the version from the Solus repo so a default at compile time is not an option. When not using Sudo it complains about not being able to set thread priority. Is that an issue with the Solus package? |
|
And the default setting mean that you only can use one file. Having it automatically look for .sf2 files in that directory would make it easy to use multiple files... |
Use a symlink?
Setup
I'm not convinced that we need this. And implementing this raises a couple of question:
If you insist on your idea, I suggest you bring it to the mailing list for discussion. |
|
I am really not that experienced with Linux to create a symlink and other tuff, I would guess that more people are the same. I think that it would be best to have it as a compile time selectable variable so you could select a path on Windows and Mac also. Only Yes of course I could write a shell script but I think that this would make it easier for more users. I had been writing some documentation for Solus on this. That is why I want to make fluidsynth easier for more users to enjoy this great software: |
Your efforts in all honor, but why making documentation unnecessarily complicated? Soundfonts are specific to a certain user. You should collect them somewhere in your $HOME. Then you don't have to fiddle with the path. And again: Don't use sudo unless you really need it. You can just ignore the thread priority issue. Also: The guy is called
For implementation details: mailing list, please. However, given your previous statement of "mak[ing] fluidsynth easier for more users to enjoy" I think this would be the most user unfriendly option, esp. because you already said "a default at compile time is not an option". |
|
Okay thank you for the tips on my documentation, I will make sure to improve it 🙂👍 I was unclear with what I exactly meant but I still think this is kind of good idea. Maybe not in /usr/share/sounds/sf2 but in Home like you say. Will see about contacting the mailing list sometime in the future. Might rethink my idea in to something more useful. I am happy to learn more and help out. Thanks for having this conversation 🙂 |
|
You don't need
I'd be happy to write a PR. |
|
Thanks @remyabel 👍 |
FluidSynth version
1.1.11
Current behavior
Nowadays it looks like we need to load files like
/usr/share/sounds/sf2/GeneralUser.sf2which is a bit annoying and it makes the need to write the full path every time.Expected behavior
It would be way beter to have it look for sound fonts in
/usr/share/sounds/sf2by default so you only need to load the soundfont withGeneralUser.sf2instead. This would make lide a lot easier 😄From
sudo fluidsynth -a alsa -s -g 1.5 /usr/share/sounds/sf2/GeneralUser.sf2to
sudo fluidsynth -a alsa -s -g 1.5 GeneralUser.sf2The text was updated successfully, but these errors were encountered: