mirror of
https://github.com/wassname/TTS.git
synced 2026-10-28 12:41:20 +08:00
update TorchSTFT to enable melspec
This commit is contained in:
1 parent
4a5b1d4ac2
commit
ff07c5f5e3
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user