9

If I would need to use and audio API in HTML5 right now, which one should I use? I see two APIs available: Audio API and Web Audio API.

Based on this documentation from MDN, the Audio API seems to be deprecated, is that correct? Is it deprecated only in Firefox and Chrome?

What happens with Internet Explorer?

More info about Web Audio API:

http://webaudio.github.io/web-audio-api/

https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API

margabit
  • 2,924
  • 18
  • 24

1 Answers1

2

For playing audio from computed samples I think AudioContext.createBuffer() is great. No support in IE 11 but in Edge and the others.

David Jonsson
  • 318
  • 5
  • 19