Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amifunny/piano-synth
A Bubbly-Virtual Piano with auto-generated key assist using deep learning.
https://github.com/amifunny/piano-synth
Last synced: about 1 month ago
JSON representation
A Bubbly-Virtual Piano with auto-generated key assist using deep learning.
- Host: GitHub
- URL: https://github.com/amifunny/piano-synth
- Owner: amifunny
- Created: 2020-07-09T18:21:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T14:13:49.000Z (almost 2 years ago)
- Last Synced: 2023-03-05T12:39:12.656Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 22.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Piano-Synth
A Bubbly-Virtual Piano with auto-generated key assist using deep learning.![Preview of Piano-Sim](Preview.JPG)
## How to Use
1. Clone the repo using `git clone https://github.com/amifunny/Piano-Synth.git` in the command line.
2. In the command line, go inside the folder and use `set FLASK_APP=backend` for windows or to avoid setting this, change `backend.py` to `app.py`.
3. Start the local server using `flask run`
4. Go to `http://127.0.0.1:5000/` to interact with the demo.
5. Click `Record` Button and Play some notes on the piano.
6. After stopping recording, Click `Generate` to autoplay predicted tunes and download MIDI file## Dataset
[Classical Music dataset](https://www.kaggle.com/soumikrakshit/classical-music-midi) is used from Kaggle with over 7Mb of classical MIDI files.## Model
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](https://github.com/amifunny/Deep-Learning-Notebook/blob/master/Music_gen.ipynb).[Music21 library](https://web.mit.edu/music21/doc/) 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.**