Skip to content
TensorFlow implementation of "GANSynth: Adversarial Neural Audio Synthesis"
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information. update Apr 12, 2019 update May 17, 2019 update May 17, 2019 update May 17, 2019 update May 17, 2019 update May 17, 2019 update Apr 16, 2019 update May 17, 2019 update Apr 20, 2019 update May 17, 2019

GANSynth: Adversarial Neural Audio Synthesis
TensorFlow implementation of the ICLR 2019 paper

Original paper

Based on following papers



  • TensorFlow 1.13.1 with GPU support.


  • Following the paper, create a new train/valid/test 80/10/10 split from shuffled data, as the original split was divided along instrument type, which isn’t desirable for this task.

  • The original tfrecord is very large, so it takes so long time to shuffle after each epoch.
    For better peformance, make tfrecord which contains the path to waveform.


tar -xvf nsynth-train.jsonwav.tar.gz
tar -xvf nsynth-valid.jsonwav.tar.gz
tar -xvf nsynth-test.jsonwav.tar.gz

python --filenames nsynth_train_examples.tfrecord --train
python --filenames nsynth_test_examples.tfrecord --evaluate
You can’t perform that action at this time.