Skip to content
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

Removed unnecessary SF2 directory setting #4995

Closed
wants to merge 1 commit into from
Closed

Removed unnecessary SF2 directory setting #4995

wants to merge 1 commit into from

Conversation

necrashter
Copy link
Contributor

Closes #4180

Removed every occurrence of SF2 directory in SetupDialog as well as ConfigManager. You might want to check my modification in the plugins/sf2_player/sf2_player.cpp though. I didn't understand what original code does; removed it anyway.

@Spekular
Copy link
Member

I disagree with tresf on removing this directory. It adds work if someone later wishes to improve relative paths, since this will have to be reverted. It also results in user's sf2 directory configuration being lost. Finally, I believe we found the directory does affect where sf2 browsing opens to, which is valuable in itself.

@necrashter
Copy link
Contributor Author

Thanks for feedback, sir.

I believe we found the directory does affect where sf2 browsing opens to, which is valuable in itself.

This seems to be the only function of this setting. But the soundfonts selected from SF2 directory are not saved relatively, i.e. it saves their absolute path. Whereas soundfonts from samples/soundfonts directory are saved relatively.

To be frank, I like the idea of configurable SF2 directory so that multiple programs can use soundfonts from the same directory; however it's poorly implemented right now.

Should we remove this setting and use samples/soundfonts directory, or should we close this pull request and make soundfont paths relative to the SF2 directory?

@Spekular
Copy link
Member

Spekular commented May 31, 2019 via email

@Spekular
Copy link
Member

Relevant: #5117

@JohannesLorenz
Copy link
Contributor

Since #4180 got re-milestoned to 1.3.0, I'll change the PR base from stable-1.2 to master in 7 days. (Or you can also do it now @necrashter)

@Spekular
Copy link
Member

I'm closing this since I'm pushing to get #5117 merged before the refactor in #5592

@Spekular Spekular closed this Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SF2 Directory Setting/Relative Paths
3 participants