rishikksh20 / VocGAN

VocGAN: A High-Fidelity Real-time Vocoder with a Hierarchically-nested Adversarial Network
MIT License
319 stars 61 forks source link

[Question] How to change configuration parameters for 16KHz or 24Khz training data #17

Closed twonine1 closed 3 years ago

twonine1 commented 3 years ago

I'd like to change sampling rate of training data to 16KHz or 24KHz. What should I change configuration parameters(config/default.yaml) except of sampling_rate? Thanks in advance.

rishikksh20 commented 3 years ago

@twonine1 change following parameters on config files :

generator_ratio:
filter_length: 
hop_length: 
win_length: 
sampling_rate:
rishikksh20 commented 3 years ago

for 16KHz

sampling_rate: 16000
hop_length: 200 and filter_length = win_length = 4 * hop_length
generator_ratio: [5, 5, 2, 2, 2]

for 24 KHz

sampling_rate: 24000
hop_length: 300 and filter_length = win_length = 4 * hop_length
generator_ratio: [5, 5, 3, 2, 2]
twonine1 commented 3 years ago

Thank you very much!