# 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`](https://npmjs.org/package/@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`.

```js
import decode from 'audio-decode'
let audioBuffer = await decode(buf)
```

Full docs: [@audio/decode](https://github.com/audiojs/decode).

## License

[ॐ](https://github.com/krishnized/license/) · [MIT](./LICENSE)
