mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
change the upper bound in sound normalization
This commit is contained in:
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user