{"repo":"chrisguttandin/standardized-audio-context","free":true,"listed":false,"github":"https://github.com/chrisguttandin/standardized-audio-context","clone":"git clone https://github.com/chrisguttandin/standardized-audio-context.git","description":"A cross-browser wrapper for the Web Audio API which aims to closely follow the standard.","language":"JavaScript","stars":778,"topics":["audio","audio-worklet","browser","polyfill","web-audio"],"license":"MIT","category":"media-processing","readme_excerpt":"standardized-audio-context A cross-browser wrapper for the Web Audio API which aims to closely follow the standard. This package provides a subset (although it's almost complete) of the Web Audio API which works in a reliable and consistent way in every supported browser. In contrast to other popular polyfills standardized-audio-context does not patch or modify anything on the global scope. In other words, it does not cause any side effects. It can therefore be used safely inside of libraries. It's what's known as a ponyfill. One of the goals of standardized-audio-context is to only implement missing functionality and to avoid rewriting built-in features whenever possible. Please take a look at the paragraph about the browser support below for more information. There are some things which cannot be faked in a way that makes them as performant as they could be when implemented natively. The most prominent amongst those things is the AudioWorklet . Please have a look at the list of all supported methods below for more detailed information. Usage The standardized-audio-context is available on npm and can be installed as usual. You can then import the AudioContext and OfflineAudioContext like this: It is also possible to load standardized-audio-context with a service like jspm. The import statement from above would then need to be changed to point to a URL. Once the AudioContext and/or OfflineAudioContext are imported they can be used in the same way as their native counterparts.","default_branch":null,"files":null,"tree":[],"storefront":"/r/chrisguttandin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chrisguttandin/standardized-audio-context/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}