Skip to content

linglin00/coms4995-final-project

Repository files navigation

comsw4995-final-project

Final Project for COMS W4995 Spring 2018

Get midi files, generate data set

Run GenerateCorpus.ipynb

Run maskGAN

Install the following modules for python3:
numpy
tensorflow
scipy

Then run the scripts (runTraining.sh, runValidate.sh, runTest.sh) in maskgan directory, but change the data_dir, base_directory, maskgan_ckpt with your values.

Play Mid File

Install the following modules for python3
py-midi
mingus
pygame
mido

Install rtmidi using the whl file in this repo

But mingus module doesn't support python3, so please copy the mingus files from here to the location installed.

Then run play_midi.py

Conditional Sample

conditional sample

Unconditional Sample

About

Final Project for COMS W4995 Spring 2018

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published