@audin.ai/operator-sdk
Version:
Headless browser SDK for the Audin operator softphone — make and receive calls over the Audin operator WebSockets.
10 lines (9 loc) • 510 B
TypeScript
/**
* Codec barrel — the pure, browser-independent audio primitives.
*
* These are the only unit-tested modules of the SDK (see `__tests__`). They
* are exported from the package root so advanced integrators can reuse the
* μ-law / resampling helpers directly if they roll their own audio path.
*/
export { encodeMuLaw, decodeMuLaw, encodeMuLawSample, decodeMuLawSample, } from "./mulaw.js";
export { resampleLinear, downsampleTo8k, upsampleFrom8k, floatToInt16, int16ToFloat, } from "./resample.js";