Comments (2)
Hi @RuiYang12345 ,
Thanks a lot for your detailed issue!
The MuseScore plugin was indeed doing what you described. In fact I hardly checked this part of the code when rewriting it in Pytorch. Sorry for this.
Finally I solved this issue in #74 :
Now:
- The plugin works in MuseScore3
- It now takes into account fermatas (this influences generation!)
- It is now longer bound to generate in A minor / C major. Instead, it evaluates the most probable keys in the file that your provide.
- Part of the communication between the server and the client is done by writing on /tmp/deepbach.xml and /tmp/deepbach.mxl (this is not entirely satisfying but kind of works, you need to have unzip installed...).
- If you click compose with no selection, a novel chorale is generated from scratch. This is useful for instance if you want to start with a blank one-staff score.
- The number of iterations now depends on the length of the region to be recomposed.
- I also removed all the logging messages and the possibility to choose a server different from localhost:5000. You can easily change this in the .qml file by putting visible=true in some elements and manually setting the serverAddresss variable at the beginning of the file.
Remember that you can provide a --num_iterations argument to the musescore_flask_server.py if you think the default value takes too much time.
Hope it will work on your side. Also do not forget to reload the plugins in MuseScore3: just replacing the .qml file won't work.
And here is a small chorale composed with this plugin!
https://www.youtube.com/watch?v=X72YHyaTIUE&feature=youtu.be
from deepbach.
Hi Ghadjeres,
It is working now, thank you so much!
from deepbach.
Related Issues (20)
- follow up on the youtube video last year HOT 7
- 352 MIDI chorales after discarding voice divisions HOT 2
- Datasets in dataset_cache HOT 3
- Training epochs HOT 2
- Fixing soprano part at generation time HOT 2
- ModuleNotFoundError: No module named 'torch' HOT 1
- File is not a valid MusicXML file - DeepBach using MuseScore HOT 1
- Help installing on Musescore2/win10
- Error when running server HOT 1
- TypeError: can only concatenate str (not "Specifier") to str
- Usage with NONOTO HOT 1
- Error on pieces with length > 32seconds HOT 2
- How to train or test the model with a new dataset HOT 1
- withdraw
- Code not implementing HOT 2
- Installation section deprecated HOT 1
- Issue running musescore_flask_server.py HOT 5
- Can't Install Using the Anaconda Instructions in the README
- Packages (using OSX) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepbach.