How does this work?

This program was made for a university assignment. It uses a type of recurrent neural network to generate melodies. Without going too much into the theory, here's what to do if you want to try it yourself:

  1. Create a dataset using the melody creator (or just download the dataset we made from there)
  2. In this program, initialize a new network
  3. Load the training data (you can select multiple files)
  4. Start training
  5. Keep an eye on the sum of cost values. Try to get it as low as possible. I recommend setting the precision very low at first, and turning it up later when the sum stops decreasing.
  6. Once you can't seem to get the sum of cost values any lower, stop the training and generate a new melody.
  7. Go back to the melody creator and load your new AI generated melody!