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

Usage with NONOTO #76

Open
JacobH140 opened this issue Feb 17, 2021 · 1 comment
Open

Usage with NONOTO #76

JacobH140 opened this issue Feb 17, 2021 · 1 comment

Comments

@JacobH140
Copy link

Hi there! Is there a way to constrain the output to a given soprano melody within the NONOTO interface? Or, more generally, to edit specific notes using NONOTO akin to what can be seen within the MuseScore plugin here?
https://www.youtube.com/watch?v=OkkKjy3WRNo

Thanks!

@Ghadjeres
Copy link
Owner

Hi! Thanks for your interest!
Currently we did not implement the possibility to freeze one voice in NONOTO as we wanted to keep the interface as simple as possible.
Concerning editing notes directly within NONOTO, this is impossible as we rely on OpenSheetMusicDisplay which only renders the score.
Depending on your needs, if you want to interact with NONOTO with a pre-determined fixed melody, the simplest way would be to directly modify the flask_server.py file:
If you modify the compose() method, to return a chorale with the predifined soprano, and add the voice_index_range=[1,2,3] argument in the deepbach.generation() method l. 249 in timerange_change(), this should work.
Hope this helps.
Best

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

No branches or pull requests

2 participants