Converts an audio Blob (WebM/Opus, etc.) to 16-bit PCM WAV using the Web Audio API.
This is used when the server doesn't have ffmpeg and can only accept WAV.
Parameters
audioBlob: Blob
The input audio Blob to convert.
Returns Promise<Blob>
A Promise that resolves to a new Blob in WAV format.
Converts an audio Blob (WebM/Opus, etc.) to 16-bit PCM WAV using the Web Audio API. This is used when the server doesn't have ffmpeg and can only accept WAV.