WebAssembly build of SpeexDSP preprocess.
npm i @sapphi-red/speex-preprocess-wasm # yarn add @sapphi-red/speex-preprocess-wasm
import {
loadSpeexModule,
SpeexPreprocessor
} from '@sapphi-red/speex-preprocess-wasm'
const speexModule = await loadSpeexModule()
const bufferSize = 128
const sampleRate = 44100
const speexPreprocessor = new SpeexPreprocessor(
speexModule,
bufferSize,
sampleRate
)