From 7726dfca992e67ea9103b4554b0e031aab209768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Wed, 7 Apr 2021 10:24:47 +0200 Subject: [PATCH] change the upper bound in sound normalization --- TTS/utils/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/utils/audio.py b/TTS/utils/audio.py index c674dd99..75afaeb0 100644 --- a/TTS/utils/audio.py +++ b/TTS/utils/audio.py @@ -372,7 +372,7 @@ class AudioProcessor(object): @staticmethod def sound_norm(x): - return x / abs(x).max() * 0.9 + return x / abs(x).max() * 0.95 ### save and load ### def load_wav(self, filename, sr=None):