audio-decode
v3.12.0
Published
Decode audio to AudioBuffer; unscoped alias of @audio/decode
Readme
audio-decode
Decode audio (wav, mp3, flac, ogg, opus, aac, qoa, aiff, caf, webm, amr, wma) to AudioBuffer.
audio-decode is the unscoped alias of @audio/decode. Both names contain the same code. The scoped package is canonical and hosts the codec packages such as @audio/decode-mp3 and @audio/decode-flac.
import decode from 'audio-decode'
let audioBuffer = await decode(buf)Full docs: @audio/decode.
