Pure-js PCM Resampler lib @purinton/resampler

https://github.com/purinton/resampler 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. I had been using ffmpeg for my resampler in my voice apps, but I wanted to try other options. I found using libresample and some of the other options like the WASM one just weren't cutting it so I made my own Pure-js resampler, and I've cut out ffmpeg completely. Sharing here incase anyone else might find it useful!
GitHub
GitHub - purinton/resampler
Contribute to purinton/resampler development by creating an account on GitHub.
1 Reply
d.js toolkit
d.js toolkit•4mo ago
- What are your intents? GuildVoiceStates is required to receive voice data! - Show what dependencies you are using -- generateDependencyReport() is exported from @discordjs/voice. - Try looking at common examples: https://github.com/discordjs/voice-examples. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - ✅ Marked as resolved by OP

Did you find this page helpful?