A Bubbly-Virtual Piano with auto-generated key assist using deep learning.
A Bubbly-Virtual Piano with auto-generated key assist using deep learning.
git clone https://github.com/amifunny/Piano-Synth.git
in the command line.set FLASK_APP=backend
for windows or to avoid setting this, change backend.py
to app.py
.flask run
http://127.0.0.1:5000/
to interact with the demo.Record
Button and Play some notes on the piano.Generate
to autoplay predicted tunes and download MIDI fileClassical Music dataset is used from Kaggle with over 7Mb of classical MIDI files.
Three GRU layers were used for building the music model in model/
folder. The training was roughly based on this python notebook of mine Music_Gen.ipynb.
Music21 library was used for creating midi files and processing music notes and chords.
Do provide feedback on the quality of music being generated or demo working issues if any.