Skip to content
eliwarePublic

About

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.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

eliware.org

@eliware/resampler npm License CI

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.

Table of Contents

Features

Resample signed 16-bit little-endian PCM data. Change the sample rate, channel layout, and output level.

Requirements

Use Node.js 26 or later. Supply raw signed 16-bit little-endian PCM data without a file header.

Setup

Run npm install @eliware/resampler in your Node.js project.

Usage

Create a Resampler stream and pass PCM data through it. Read the user guides and release notes.

Development

Read AGENTS.md before you change repository files. See the specifications index for repository requirements.

Testing

Run npm test for aggregate validation.

Troubleshooting

Read the troubleshooting guide for input, output, and setup problems.

Security

Keep credentials and private data out of Git and logger metadata.

API

Read the API guide for options, channel mapping, logging, and stream behavior.

Packaging

The npm package includes src/, docs/, examples/, and specs/. It also includes README.md, AGENTS.md, LICENSE, and RELEASE_NOTES.md.

Examples

Read example guidance for conversion and benchmark commands.

Support

For help, questions, or to chat with the author and community, visit:

Discordeliware.org

eliware.org on Discord

Links

License

MIT © Eliware

About

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.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages