SMak06 / MusicGenerationAI

Create sequences of pop music as midi files using Tensorflow RNN

Home Page:https://github.com/SMak06/MusicGenerationAI/blob/master/CSE401_project.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MusicGenerationAI

Create sequences of pop music as midi files using Tensorflow RNN https://github.com/SMak06/MusicGenerationAI/blob/master/CSE401_project.pdf

Overview

Use TensorFlow to generate short sequences of music with a Restricted Boltzmann Machine. Original code comes from YouTube, see here: (https://youtu.be/ZE7qWXX05T0)

Requirements (packages)

  • Tensorflow
  • pandas
  • numpy
  • msgpack-python
  • glob2
  • tqdm
  • python-midi

Dependencies on Windows with python3

    pip3 install pandas
    pip3 install msgpack-python
    pip3 install numpy
    pip3 install glob2
    pip3 install tqdm
    pip3 install py-midi

Usage

To train the model and create music, simply clone this directory and run

python chords.py

The training data goes in the pop_music_midi folder. You have to use MIDI files. You can find some here. I have already added pop songs. The output will be a collection of midi files.

About

Create sequences of pop music as midi files using Tensorflow RNN

https://github.com/SMak06/MusicGenerationAI/blob/master/CSE401_project.pdf


Languages

Language:Python 100.0%