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

IR-files don't get loaded #59

Open
rominator1983 opened this issue Sep 18, 2022 · 2 comments · May be fixed by mod-audio/mod-ui#135
Open

IR-files don't get loaded #59

rominator1983 opened this issue Sep 18, 2022 · 2 comments · May be fixed by mod-audio/mod-ui#135

Comments

@rominator1983
Copy link
Contributor

Hi,

Probably not an issue but pebcak. I did not exactly know where to post this. This repositoriy seemed to fit best. If you think it should be posted somewhere else please let me know.

I am compiling mod-host on my machine for ubuntu using x86_64 as a platform in order to run it on the box directly.
Thus mod-host reads all plugins from /usr/lib/lv2/
So I compiled some plugins and also https://github.com/moddevices/mod-cabsim-IR-loader using https://github.com/moddevices/mod-plugin-builder and copied the output from ~/mod-workdir/x86_64/plugins/* to /usr/lib/lv2/ to get things to show up when starting mod-host and mod-ui.
https://github.com/moddevices/mod-cabsim-IR-loader/blob/master/source/cabsim-IR-loader.lv2/cabsim-IR-loader.ttl states that I should put my IR files at the Speaker Cabinet IRs folder. But unfortunately I cannot find the folder and do not know where to place the IR files instead. The default IR (...AliceInBones...) will always get loaded and resides in /usr/lib/lv2/cabsim-IR-loader.lv2. Putting my IRs right next to this default IR file did not do the trick. Event if I restart the computer in between.

So obviously I am doing something wrong here and should be putting the IR files somewhere else. Can you give me a hint, where the files should be placed in order to have them show up?

@rominator1983
Copy link
Contributor Author

rominator1983 commented Sep 21, 2022

After spending some time reading the code I found it in https://github.com/moddevices/mod-ui/blob/master/mod/webserver.py
One can set the directory via the environment variable MOD_USER_FILES_DIR. If it is not set, it defaults to the absolute path outside of the mod-ui-directory /data/user-files

This is not quite intuitive since MOD_DATA_DIR has a default of ~/data but I believe has something to do with how the MOD devices work and were built. Anyhow I have a startup bash script for mod-ui and I added a export MOD_USER_FILES_DIR=~/somewhere where in 'somewhere' there is a directory Speaker Cabinets IRs with my IRs and now it is working. \O/

I did not close this issue now since I think the documentation on such topics could be improved. Maybe I do a PR on https://github.com/moddevices/mod-ui

@rominator1983 rominator1983 linked a pull request Jun 7, 2023 that will close this issue
@rominator1983
Copy link
Contributor Author

Can be closed when mod-audio/mod-ui#135 is merged

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 a pull request may close this issue.

1 participant