Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.WebAudio.ContextRealtimeData
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ContextRealtimeData } = Protocol.WebAudio;

Fields in AudioContext that change in real-time.

Properties

currentTime: number

The current context time in second in BaseAudioContext.

renderCapacity: number

The time spent on rendering graph divided by render qunatum duration, and multiplied by 100. 100 means the audio renderer reached the full capacity and glitch may occur.

callbackIntervalMean: number

A running mean of callback interval.

callbackIntervalVariance: number

A running variance of callback interval.