Interface BaseAudioContext

Hierarchy

Properties

audioWorklet: AudioWorklet

Available only in secure contexts.

MDN Reference

currentTime: number
listener: AudioListener
onstatechange: ((this, ev) => any)

Type declaration

sampleRate: number

Methods

  • Parameters

    • Optional bufferSize: number
    • Optional numberOfInputChannels: number
    • Optional numberOfOutputChannels: number

    Returns ScriptProcessorNode

    Deprecated

    MDN Reference

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    MDN Reference

    Parameters

    Returns boolean