mirror of https://github.com/coqui-ai/TTS.git
remove stft params causing warning
This commit is contained in:
parent
4998ece8d8
commit
6ee211c137
|
@ -313,7 +313,7 @@ class AudioProcessor(object):
|
||||||
pad_mode=self.stft_pad_mode,
|
pad_mode=self.stft_pad_mode,
|
||||||
window='hann',
|
window='hann',
|
||||||
center=True,
|
center=True,
|
||||||
dtype=None)
|
)
|
||||||
|
|
||||||
def _istft(self, y):
|
def _istft(self, y):
|
||||||
return librosa.istft(y,
|
return librosa.istft(y,
|
||||||
|
@ -321,7 +321,7 @@ class AudioProcessor(object):
|
||||||
win_length=self.win_length,
|
win_length=self.win_length,
|
||||||
window='hann',
|
window='hann',
|
||||||
center=True,
|
center=True,
|
||||||
dtype=None)
|
)
|
||||||
|
|
||||||
def _griffin_lim(self, S):
|
def _griffin_lim(self, S):
|
||||||
angles = np.exp(2j * np.pi * np.random.rand(*S.shape))
|
angles = np.exp(2j * np.pi * np.random.rand(*S.shape))
|
||||||
|
|
Loading…
Reference in New Issue