change the upper bound in sound normalization

This commit is contained in:
Eren Gölge
2021-04-08 11:26:01 +02:00
parent 57f6bd1afa
commit 7726dfca99
+1 -1
View File
@@ -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):