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/AudioContext/currentTime below:

currentTime · WebPlatform Docs

currentTime Summary

This is a time in seconds which starts at zero when the context is created and increases in real-time. All scheduled times are relative to it. This is not a transport time which can be started, paused, and re-positioned. It is always moving forward. A GarageBand-like timeline transport system can be very easily built on top of this (in JavaScript). This time corresponds to an ever-increasing hardware timestamp.

Property of apis/webaudio/AudioContextapis/webaudio/AudioContext

Syntax

Note: This property is read-only.

var result = AudioContext.currentTime;
Return Value

Returns an object of type NumberNumber

Examples
var audioCtx = new AudioContext();
var ct = audioCtx.currentTime;
Related specifications
W3C 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