Path: blob/main/files/en-us/web/api/audiobuffer/samplerate/index.md
6552 views
------{{ APIRef("Web Audio API") }}
The sampleRate property of the {{ domxref("AudioBuffer") }} interface returns a float representing the sample rate, in samples per second, of the PCM data stored in the buffer.
Value
A floating-point value indicating the current sample rate of the buffers data, in samples per second.
Examples
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}