-
Notifications
You must be signed in to change notification settings - Fork 130
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
Trouble Using the Musescore Plugin #56
Comments
Hi! In the meantime, if you really want to use DeepBach with Musescore, I just pushed the Flask server I use with the new interface (flask_server.py). With this file, it should be easy to adapt the old plugin_flask_server.py to use the new implementation. Sorry for that. |
Thank you so much! I'm looking forward to the new interface. In any case, it isn't a big deal - I'll just look for that interface! Hoping it's going to be open source, or at least free? |
Ok, finally I rewrote the musescore_flask_plugin. Now, I cannot retrieve in python the score displayed in MuseScore. So what I did is to keep a local copy of the generated scores in the flask server. However, if you do so, you are not able to change some parts of the score by hand and to regenerate the other parts with DeepBach. So far, you just have to start the Flask server, then start the MuseScore plugin and click on compose. It works fine in this setting, but:
Also, I just saw today that MuseScore 3 existed. But this plugin, in its current state, is incompatible with it. So for the moment it's only MuseScore 2. Check musescore_flask_server.py --help if you want to generate I really hope you will use that! |
Hi, Ghadjeres, can you help me? |
Maybe for me It would be helpful reading a step-to-step guide.... |
I'm on windows 10. After much fiddling, I've gotten DeepBach installed (yay!) and have been able to compose very well by running deepbach.py. However, I'm now trying to use the musescore plugin to get interactive composition.
I've moved the deepBachMuseScore plugin file to my MuseScore plugin directory, and that allows it to load well, but there's no models to choose from, and no matter what I put in for the server adress, none will load. I have models in my DeepBach folder, but that's in a completely separate place from my Musescore plugin files. But just putting a model file into the musescore plugin folder doesn't work either, no matter what I put in for the "server address" (http://localhost:5000/, a direct path to the directory of the model, etc).
How do I load a model into musescore?
EDIT: Alright, I've done some more work and determined I need to set it up with flask to use the musescore plugin. But the flask plugin is only available in the original_keras branch of the git and not in the master version - furthermore, it's not compatible with the current data_utils.py.
Am I missing something, or is the master branch not set up to work as a flask app and therefore to use with musescore?
The text was updated successfully, but these errors were encountered: