The Web Audio API provides a simple and powerful mechanism for controlling the audio content of a Web application. It allows you to develop complex mixes, sound effects, panning and more.
You can take a look at the MDN article "Application of Web Audio API" Https://developer.mozilla.org/zh-CN/docs/Web/API/Web_Audio_API/Using_Web_Audio_API
However, after reading the above article may still do not know how to use the Web Audio API to implement some simple functions, such as playing a piece of MP3 audio, the article does not have a corresponding example. On the Internet to check a lap, found there are several similar web Audio API tutorials, but the code is not complete, see confused. Finally in https://www.html5rocks.com/en/tutorials/webaudio/intro/this site found a useful article, very suitable for beginners, several similar articles in front of the translation from this article. Beginners can view the complete sample through the Web page source code.
Getting Started with the Web Audio API