This module will take sampled data and encode it as a wav file. This is based on https://github.com/mattdiamond/Recorderjs/
TypeScript definitions for wav-encoder
promise-based wav encoder ported to ts
Realtime-safe disk streaming to/from audio files
Pure-Rust audio encoders (WAV via hound, FLAC via flacenc) for OxiAudio