mirror of
https://github.com/wassname/TTS.git
synced 2026-10-05 12:30:14 +08:00
remove stft params causing warning
This commit is contained in:
1 parent
4998ece8d8
commit
6ee211c137
1 file changed
+2
-2
+2
-2
@@ -313,7 +313,7 @@ class AudioProcessor(object):
|
||||
pad_mode=self.stft_pad_mode,
|
||||
window='hann',
|
||||
center=True,
|
||||
dtype=None)
|
||||
)
|
||||
|
||||
def _istft(self, y):
|
||||
return librosa.istft(y,
|
||||
@@ -321,7 +321,7 @@ class AudioProcessor(object):
|
||||
win_length=self.win_length,
|
||||
window='hann',
|
||||
center=True,
|
||||
dtype=None)
|
||||
)
|
||||
|
||||
def _griffin_lim(self, S):
|
||||
angles = np.exp(2j * np.pi * np.random.rand(*S.shape))
|
||||
|
||||
Reference in new issue
Block a user