Currently the AudioBuffer constructor takes two arguments: the context, and the AudioBufferOptions. The context argument is removed so that only AudioBufferOptions is required. In addition the sampleRate member of AudioBufferOptions is now required.
Docs: https://webaudio.github.io/web-audio-api/#AudioBuffer https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/AudioBuffer