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

Method __call__

espnet2/legacy/transform/spectrogram.py:248–257  ·  view source on GitHub ↗

Process call method.

(self, x)

Source from the content-addressed store, hash-verified

246 )
247
248 def __call__(self, x):
249 """Process call method."""
250 return stft2logmelspectrogram(
251 x,
252 fs=self.fs,
253 n_mels=self.n_mels,
254 n_fft=self.n_fft,
255 fmin=self.fmin,
256 fmax=self.fmax,
257 )
258
259
260class Stft(object):

Callers

nothing calls this directly

Calls 1

stft2logmelspectrogramFunction · 0.85

Tested by

no test coverage detected