Skip to content

conanlu/chordgan

Repository files navigation

ChordGAN: Symbolic Music Style Transfer with Chroma Feature Extraction

Conan Lu and Shlomo Dubnov
University of California, San Diego

Compatibility

The Python scripts and Colab notebooks are compatible with Tensorflow 1.15.

How To Use

The Colab version is able to train the model and run transfer samples. Provide two datasets (folders of MIDI files) for runtime.

Colab

To train custom dataset online:

  1. Add notebook (chordgan.ipynb) to Colab.
  2. Upload the other files (Pop_Music_Midi.zip, reverse_pianoroll.py, and convert.py) to the runtime.
  3. Add your own dataset in ZIP format. (Pop_Music_Midi.zip provided)
  4. Run notebook.

Testing

  • Run the following:
    python chordgan.py --tolearn INPUT_DIR --totransfer INPUT2_DIR --output OUTPUT_DIR

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages