< Promise > decodeAudioData
Promise-based decodeAudioData for legacy Web Audio API
Specification
https://www.w3.org/TR/webaudio/
Native API supports
Support | |
---|---|
Firefox | ✅ |
Chrome 49+ | ✅ |
Older Chrome versions | ❌ |
Opera | ❌ |
Safari | ❌ |
Edge | Unknown |
Internet Explorer | ❌ No Web Audio API |
See here for full details.
Installation
npm install promise-decode-audio-data
downloads
API
AudioContext.prototype.decodeAudioData(audioData: ArrayBuffer): Promise<AudioBuffer>
Example
var audioContext = ; audioContext;
License
MIT