MCPcopy Create free account
hub / github.com/Standard-Intelligence/hertz-dev / upsample

Method upsample

inference_client_webrtc.py:57–58  ·  view source on GitHub ↗
(self, audio_data: np.ndarray)

Source from the content-addressed store, hash-verified

55 return audio_data
56
57 def upsample(self, audio_data: np.ndarray) -> np.ndarray:
58 return self._resample(audio_data, self.upsampler)
59
60 def downsample(self, audio_data: np.ndarray) -> np.ndarray:
61 return self._resample(audio_data, self.downsampler)

Callers 1

Calls 1

_resampleMethod · 0.95

Tested by

no test coverage detected