Ghadjeres / DeepBach

code accompanying "DeepBach: a Steerable Model for Bach Chorales Generation" paper
MIT License
500 stars 131 forks source link

File is not a valid MusicXML file - DeepBach using MuseScore #69

Open maxgmrt opened 4 years ago

maxgmrt commented 4 years ago

Hi Ghadjeres,

Thanks for this amazing repo. I've been having issues trying to make the musescore plugin work with musescore. First, I have to mention that running the flask server is perfectly fine, the model also loads fine (as you can see on the attached screenshot). When I open MuseScore, I create a new SATB Choral score and draw random notes on the Soprano line. I then select the soprano line I just wrote and hit compose, and here MuseScore prompts this error message: "File '/tmp/deep_recomposed_by_deepBach.xml' is not a valid MusicXML file Do you want to try to load this file anyway ?"

and, in the details,

"File '/tmp/deep_recomposed_by_deepBach.xml' is not a valid MusicXML file"

If I hit yes, the recomposed score is just empty.

Would you have any idea of what is causing the issue in my case ?

Thanks in advance for your help, and keep up the amazing work !!! issue musescore

Ghadjeres commented 3 years ago

From what I see, the soprano line you inputted was out of the ambitus of the soprano voice. I cannot remember if this was handled by the DeepBach server, so this might be the cause of your issue. Sorry for the late reply. Did it work since then?