1

I have opus readable stream I want to save that into file with .wav extension using fs module. any working node.js module/npm package?

node v12.0.0

vinesh_dodiya
  • 140
  • 1
  • 13
  • opus format has been encoded. To convert that encoded format to PCM ( wav) is going to require mux step ( decode opus , render PCM , apply wav headers ). "fluent" is node module that can do the muxing steps. – Robert Rowntree Jan 29 '21 at 16:16
  • https://stackoverflow.com/questions/10040317/getting-raw-pcm-data-from-webaudio-mozaudio ans here may be of help – Robert Rowntree Jan 29 '21 at 16:25

0 Answers0