MCPcopy Create free account
hub / github.com/espnet/espnet / __call__

Method __call__

espnet2/legacy/transform/spectrogram.py:208–218  ·  view source on GitHub ↗

Process call method.

(self, x)

Source from the content-addressed store, hash-verified

206 )
207
208 def __call__(self, x):
209 """Process call method."""
210 return logmelspectrogram(
211 x,
212 fs=self.fs,
213 n_mels=self.n_mels,
214 n_fft=self.n_fft,
215 n_shift=self.n_shift,
216 win_length=self.win_length,
217 window=self.window,
218 )
219
220
221class Stft2LogMelSpectrogram(object):

Callers

nothing calls this directly

Calls 1

logmelspectrogramFunction · 0.85

Tested by

no test coverage detected