From 379f1c7f5dae3245a4b59b48441f514cf2a37a51 Mon Sep 17 00:00:00 2001 From: netpi Date: Tue, 10 Jan 2023 10:56:34 +0800 Subject: [PATCH] fix max_wav_value 32768.0 to 32767.0 --- config/AISHELL3/preprocess.yaml | 2 +- config/LJSpeech/preprocess.yaml | 2 +- config/LibriTTS/preprocess.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/AISHELL3/preprocess.yaml b/config/AISHELL3/preprocess.yaml index 2aebb2ab3c..59988642d6 100644 --- a/config/AISHELL3/preprocess.yaml +++ b/config/AISHELL3/preprocess.yaml @@ -13,7 +13,7 @@ preprocessing: language: "zh" audio: sampling_rate: 22050 - max_wav_value: 32768.0 + max_wav_value: 32767.0 # np.iinfo(np.int16).max stft: filter_length: 1024 hop_length: 256 diff --git a/config/LJSpeech/preprocess.yaml b/config/LJSpeech/preprocess.yaml index 8d5364aad0..812448157a 100644 --- a/config/LJSpeech/preprocess.yaml +++ b/config/LJSpeech/preprocess.yaml @@ -13,7 +13,7 @@ preprocessing: language: "en" audio: sampling_rate: 22050 - max_wav_value: 32768.0 + max_wav_value: 32767.0 # np.iinfo(np.int16).max stft: filter_length: 1024 hop_length: 256 diff --git a/config/LibriTTS/preprocess.yaml b/config/LibriTTS/preprocess.yaml index b8429b6092..e28eb048ab 100644 --- a/config/LibriTTS/preprocess.yaml +++ b/config/LibriTTS/preprocess.yaml @@ -13,7 +13,7 @@ preprocessing: language: "en" audio: sampling_rate: 22050 - max_wav_value: 32768.0 + max_wav_value: 32767.0 # np.iinfo(np.int16).max stft: filter_length: 1024 hop_length: 256