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

Feb 14, 2017 The spot, Melody Key, is a small patch of land in the Florida Keys.Over his career, Carroz has been adept at developing high-end properties for the international wealthy, but the island he found. Helping songwriters one melody at a time. Chordbuff is the ultimate tool of the musical toolbox that generates great chord progressions given any melody. On Melody Key Island, the temperature is around 70 degrees Fahrenheit (21 degrees Celsius) in January, rising to 84 degrees Fahrenheit (29 degrees) in July. Melody Key, located near Key West, Florida is totally off the grid with solar inverter and an on-demand muted generator. Water is amply made through a desalination system.

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

Based

this will generate a txt sufficed file which looks like this

2. train your model

Melody

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

  1. Embedding will be added to make the training memory friendly

  2. Add more co-related midi melodies to enlarge the learning material

  3. Use GPU to speed up the training

Free Online Melody Generator

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...

Melody Generator Based On Key Words

please follow Karpathy's readme to setup your experiment for training and sampling.

Online Melody Generator

License

Melody Generator Based On Key Chain

MIT