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

Idea to resolve LV2 reloading problem #16

Open
jpcima opened this issue Jan 5, 2022 · 0 comments
Open

Idea to resolve LV2 reloading problem #16

jpcima opened this issue Jan 5, 2022 · 0 comments
Labels
Milestone

Comments

@jpcima
Copy link
Contributor

jpcima commented Jan 5, 2022

We know that LV2 has problem reloading the SFZ files sometimes, because of the State path system which keeps a symlink, and also does not permit portable sessions.

The idea of a workaround is as follows:

  • store in the state blob an additional String value, which is the unmodified raw path to SFZ file
  • on loading, check if the symlink file is present and resolves to an existing file. OK => use that
  • not OK => use the "unmodified raw path" to perform VST-style fuzzy search in the user dirs. Load the file that results from that

Also

  • enable the user-path editing in the LV2 UI
  • replicated SfizzFileScan logic into LV2 code

tag @unfa

@redtide redtide transferred this issue from sfztools/sfizz May 8, 2023
@redtide redtide added this to the 1.3.0 milestone May 17, 2023
@redtide redtide added the lv2 label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants