diff --git a/clmr_magnatagatune.py b/clmr_magnatagatune.py index 743edc7..428af7d 100644 --- a/clmr_magnatagatune.py +++ b/clmr_magnatagatune.py @@ -77,7 +77,7 @@ class ClmrMagnatagatune(NNOperator): outs = features.to("cpu") return outs.detach().numpy() - def __call__(self, data: List[AudioFrame]) -> numpy.ndarray: + def preprocess(self, data: List[AudioFrame]) -> numpy.ndarray: _sr = 22050 audio_length = 59049