FastDiff icon indicating copy to clipboard operation
FastDiff copied to clipboard

About audio sample rate and other hparams

Open yqzhishen opened this issue 1 year ago • 1 comments

I noticed that the supported datasets of this repository have different audio sample rate. Is the output sample rate of FastDiff vocoder bound to its training data, or does it have a fixed sample rate while all training data is downsampled?

If the sample rate is modifiable, which config file(s) and which hparam(s) should be edited? And additionally, as sample rate changes, which other hparams are supposed to be changed together? (i. e. What should I do if I want to train a vocoder with higher sample rate?)

By the way, I found myself kind of confused when dealing with all the .yaml config files and hparams. I finally make it to start the training process, but I still cannot fully understand what they mean and how they are organized. It will be much appreciated if more detailed explanations can be provided in README or documentation.

yqzhishen avatar Aug 12 '22 17:08 yqzhishen

Thanks for your suggestion, the config files have been simplified. For custom dataset, please specify configurations of audio preprocessing in modules/FastDiff/config/base.yaml

Rongjiehuang avatar Aug 13 '22 16:08 Rongjiehuang