I made a code that creates a pcm file out of a stream and saves it after the stream ended. I need to convert this .pcm file into a .wav or any other audio file if possible. Is there some kind of npm package that would help me out on this problem?
Asked
Active
Viewed 1,680 times
2
-
Please be aware that asking for packages, tools, or libraries if ott-topic. That said: you probably need to use an audio conversion tool, like ffmpeg? – evolutionxbox Mar 16 '21 at 11:55
1 Answers
1
There is a simple audiobuffer-to-wav npm. You could look into using that.
-
-
i have buffer, can i directly convert and save to wav? if u can help on that https://stackoverflow.com/questions/73373344/0xc00d36c4-while-saving-file-to-wav-format-nodejs-amazon-polly-text-to-speech – Sunil Garg Aug 17 '22 at 08:21