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

I can't get nnls-chroma to work while importing autochord #1

Closed
ARDEACT opened this issue Sep 17, 2022 · 3 comments
Closed

I can't get nnls-chroma to work while importing autochord #1

ARDEACT opened this issue Sep 17, 2022 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation wontfix This will not be worked on

Comments

@ARDEACT
Copy link

ARDEACT commented Sep 17, 2022

When I import autochord, I get an error that says, "Vamp plugin has not been installed correctly" Says to put C:\Users[user].conda\envs\ldm\lib\site-packages\autochord\res\nnls-chroma.so to vamp plugin folder, which doesn't exist, so I put it in the Vamp library folder in my conda env packages but that didn't work either. Any help?

@cjbayron
Copy link
Owner

cjbayron commented Sep 20, 2022

@ARDEACT seems two things need to be addressed here.

  1. is ensuring the VAMP plugin (nnls-chroma.so) is in the paths where vampy-host library tries to find it. you can know these paths by running:
import vamp
vamp.vampyhost.get_plugin_path()

you should put the plugin in at least one of the printed paths, if any

  1. and much more important than no. 1, you're setting up in Windows (it seems) but *.so kind of plugin is intended for Linux (and yeah, I failed to indicate this in README).

what you'd probably need is the *.dll version of NNLS-chroma plugin (reference regarding the plugin file types). But even with the DLL file, the source code is hardcoded to load the .so file. so you may either try to fix it by cloning the repo and re-installing the modified version on your Windows machine, hopefully it works (and if you don't mind please submit a PR 🙏 ) or I can try to fix it during my free time (probably on the weekend)

@cjbayron cjbayron self-assigned this Sep 25, 2022
@cjbayron cjbayron added documentation Improvements or additions to documentation wontfix This will not be worked on labels Sep 25, 2022
@cjbayron
Copy link
Owner

@ARDEACT I'm marking Windows as unsupported as of this moment. There are compatibility issues that arise with Windows, in particular:

  1. The VAMP plugin *.dll for Windows is 32-bit. The Python library vampy/vampyhost is only able to load 32-bit plugins on a 32-bit Python installation.
  2. TensorFlow, which is a core dependency of autochord, has no support for 32-bit.

Hence, Windows can't be supported as of now, unfortunately.

@xhocquet
Copy link

xhocquet commented Nov 7, 2023

Edit: Nevermind! Crossed my wires 😓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants