alkove.Resampler
class Resampler(in_rate: int, out_rate: int, *, aligned: bool = False)Windowed sinc between any two rates, across chunks; aligned puts output k exactly on input k × ratio (files), else half a window late (real time).
Methods
Section titled “Methods”push()
Section titled “push()”push(pcm: Any) -> np.ndarraySamples at in_rate, any length; the ones ready at out_rate.