This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
getOutputTimestamp() property of the
AudioContext interface returns a new
AudioTimestamp containing two correlated context's audio stream position values:
AudioTimestamp.contextTimemember contains the time of the sample frame which is currently being rendered by the audio output device (i.e., output audio stream position), in the same units and origin as context's
- The AudioTimestamp.performanceTime member contains the time, estimating the moment when the sample frame corresponding to the stored contextTime value was rendered by the audio output device, in the same units and origin as
var timestamp = AudioContext.getOutputTimestamp()
AudioTimestamp, which has the following properties.
contextTime: A point in the time coordinate system of the
performanceTime: A point in the time coordinate system of a
|Web Audio API
The definition of 'getOutputTimestamp()' in that specification.
|Working Draft||Initial definition.|
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Feature||Android Webview||Chrome for Android||Firefox Mobile (Gecko)||Firefox OS||IE Mobile||Opera Mobile||Safari Mobile|