mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
config updates, update audio.py, update mailabs preprocessor
This commit is contained in:
+1
-1
@@ -243,7 +243,7 @@ class AudioProcessor(object):
|
||||
if self.do_trim_silence:
|
||||
x = self.trim_silence(x)
|
||||
# sr, x = io.wavfile.read(filename)
|
||||
assert self.sample_rate == sr
|
||||
assert self.sample_rate == sr, "%s vs %s"%(self.sample_rate, sr)
|
||||
return x
|
||||
|
||||
def encode_16bits(self, x):
|
||||
|
||||
Reference in New Issue
Block a user