@shanzhai/resample
Adjust the sample rate of floating-point audio.
Usage
import { resample } from "@shanzhai/resample";
const inputSamples = [-1, -0.5, 0, 0.5, 1];
const outputSamples = resample(inputSamples, 44100, 22050);
Dependencies
This package has no runtime dependencies.
Peer Dependencies
This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).