Awesome
WaveNet: A Generative Model for Raw Audio
This is the Chainer implementation of WaveNet
この記事で実装したコードです。
まだ完成していませんが音声の生成はできます。
Todo:
- Generating audio
- Local conditioning
- Global conditioning
- Training on CSTR VCTK Corpus
Training the network
Requirements
- Chainer 2
- scipy.io.wavfile
Preprocessing
Donwsample your .wav to 16KHz / 8KHz to speed up convergence.
Create data directory
Add all .wav files to /train_audio/wav
Hyperparameters
You can edit the hyperparameters of the network in model.py
before running train.py
, or edit /params/params.json
after training starts.
Training
run train.py
Generating audio
run generate.py
Passing --use_faster_wavenet
will generate audio faster than original WaveNet.