A pure JavaScript, high-quality PCM audio resampler for Node.js. Converts s16le PCM between arbitrary sample rates and channel layouts (mono/stereo) with windowed-sinc filtering.
- Features
- Requirements
- Setup
- Usage
- Development
- Testing
- Troubleshooting
- Security
- API
- Packaging
- Examples
- Support
- Links
- License
Resample signed 16-bit little-endian PCM data. Change the sample rate, channel layout, and output level.
Use Node.js 26 or later. Supply raw signed 16-bit little-endian PCM data without a file header.
Run npm install @eliware/resampler in your Node.js project.
Create a Resampler stream and pass PCM data through it. Read the user guides and release notes.
Read AGENTS.md before you change repository files. See the specifications index for repository requirements.
Run npm test for aggregate validation.
Read the troubleshooting guide for input, output, and setup problems.
Keep credentials and private data out of Git and logger metadata.
Read the API guide for options, channel mapping, logging, and stream behavior.
The npm package includes src/, docs/, examples/, and specs/. It also includes README.md, AGENTS.md, LICENSE, and RELEASE_NOTES.md.
Read example guidance for conversion and benchmark commands.
For help, questions, or to chat with the author and community, visit:


