A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/webaudio/AudioBuffer/sampleRate below:

sampleRate · WebPlatform Docs

sampleRate Summary

The sample rate, in samples per second, for the PCM audio data.

Property of apis/webaudio/AudioBufferapis/webaudio/AudioBuffer

Syntax

Note: This property is read-only.

var result = AudioBuffer.sampleRate;
Return Value

Returns an object of type NumberNumber

Examples
var myArrayBuffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate);
var sr = myArrayBuffer.sampleRate;
Related specifications
Web Audio API
W3C Editor’s Draft

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4