Coconet: Add harmony to melody
See original GitHub issueI would like to use Coconet like it is used in todays Google Doodle to add 3 voices to a melody line: https://www.google.com/doodles/celebrating-johann-sebastian-bach
I am in the magenta/models/coconet
subdirectory and I can use sh sample_bazel.sh /tmp/coconet_checkpoint/coconet-64layers-128filters/
to generate a new piece.
How can I use coconet to add harmony to a midi melody line instead of generating a complete new piece?
I tried using the prime_midi_melody_fpath
argument in the coconet_sample.py
file, but to no avail, and it is not clear for me how to use it correctly.
Are there any instructions on how to accomplish this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Coconet: Add harmony to melody · Issue #1481 - GitHub
I would like to use Coconet like it is used in todays Google Doodle to add 3 voices to a melody line: ...
Read more >Adding Harmony To Melody - Open Up Your Possibilities On ...
Stay motivated with direct access to real teachers! Get personal support from our in-house team of teachers through personal feedback, ...
Read more >Coconet: the ML model behind today's Bach Doodle - Magenta
You can create your own melody, and the machine learning model will harmonize it in Bach's style. In this blog post, we introduce...
Read more >Adding Harmony To Melody On The Piano - - Pianote
To add harmony you need to be able to know what other tones will compliment the notes you are already playing. This can...
Read more >Automatic Music Completion Based on Joint Optimization of ...
put any combination of partial harmonies, melodies and voicings. ... networks, and the similar Coconet [18], which is based on a con-.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ak9250 See #1292
You have to replace the content of the
checkpoint
file with:You can find the JSB Chorale dataset here: https://github.com/czhuang/JSB-Chorales-dataset
There’s a Jsb16thSeparated.npz there and the READ.md includes some description of the format.