mirror of https://github.com/coqui-ai/TTS.git
update TorchSTFT to enable melspec
This commit is contained in:
parent
4a5b1d4ac2
commit
ff07c5f5e3
|
@ -17,6 +17,7 @@ class TorchSTFT(nn.Module): # pylint: disable=abstract-method
|
|||
mel_fmax=None,
|
||||
n_mels=80,
|
||||
use_mel=False):
|
||||
""" Torch based STFT operation """
|
||||
super(TorchSTFT, self).__init__()
|
||||
self.n_fft = n_fft
|
||||
self.hop_length = hop_length
|
||||
|
|
Loading…
Reference in New Issue