diff --git a/webaudio/specification.html b/webaudio/specification.html --- a/webaudio/specification.html +++ b/webaudio/specification.html @@ -917,17 +917,18 @@ interface Aud buffer will be zero-initialized (silent). An exception will be thrown if the numberOfChannels or sampleRate are out-of-bounds.

The numberOfChannels parameter determines how many channels the buffer will have. An implementation must support at least 32 channels.

The length parameter determines the size of the buffer in sample-frames.

The sampleRate parameter describes the sample-rate of the linear PCM audio data in the buffer in - sample-frames per second. An implementation must support sample-rates in at least the range 22050 to 96000.

+ sample-frames per second. An implementation MUST support sample-rates in at least the range 8000 to 192000. + If an out-of-bounds sample-rate is passed in, an INDEX_SIZE_ERR exception MUST be thrown.

The createBuffer from ArrayBuffer method

Creates an AudioBuffer given the audio file data contained in the ArrayBuffer. The ArrayBuffer can, for example, be loaded from an XMLHttpRequest's response attribute after setting the responseType to "arraybuffer".