Melody Generator Based On Key
A midi melody generator. This model generator is based on a poetry lstm model generator coded by dvictor. I modified for midi words generator. https://github.com/dvictor/lstm-poetry-word-based
Hookpad is an easy-to-use chord and melody sketchpad with built-in music theory, melody guides, and intelligent chord suggestions to help you write chords and melody like a boss. Using secondary chords (chords based on a different key) to create tension. Combining melody. The Melisma Stochastic Melody Generator is a computer program that generates original melodies using stochastic (i.e. Partly random) processes. From this site, you can generate a melody using parameters of your own choosing; the melody will be returned to you in the form of a midifile, which will then be played on your computer. The melody generator is a tool and an instrument focused on letting you easily create and perform new melodies that will definitely inspire you on current and future productions. The origin of this tool itself is inspired in part by the idea of a traditional arpeggiator: a feature found on some synthesizers which instantly creates looping sequences of notes in real time.
Structure of this model
I used a 2 layer LSTM each with 400 node and 0.6 dropout
some tensorflow pesudo-code like this:
Quick Start
0. get some midi file
Google 'midi download' and get them :-)
1. midi → text string
this will generate a txt sufficed file which looks like this
2. train your model
put your encoded source file in a specific folder and rename it to input.txt
3. sample some coded melody
you will get some tensorflow dump files after the training, use the final one to sample some output
if you'd like to use your own sample seed, you can use '--header' arg
4. text string → midi
then you will get your generated midi file
5. play it!
To-do list (already done)
I'm planning to add the following features in the future
Embedding will be added to make the training memory friendly
Add more co-related midi melodies to enlarge the learning material
Use GPU to speed up the training
Understanding LSTM Networks
This is the best introduction about LSTM networks I found.
Karpathy's raw Readme
this is where my original idea came from.. Download key generator gta 5 pc.
Piano Melody Generator
please follow Karpathy's readme to setup your experiment for training and sampling.
Melody Generator Based On Key Largo
License
Music Melody Generator
MIT