audio-decode
Status calibrated
npm3.12.0licenseMIT
Decode audio to AudioBuffer; unscoped alias of @audio/decode
Overview
- Install
- Updated
- Family
- decode, 25 packages under it
- Tags
- read & write
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.
License
ॐ · MIT