Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AudioParam

The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain).

Hierarchy

  • AudioParam

Index

Properties

automationRate

automationRate: AutomationRate

Readonly defaultValue

defaultValue: number

Readonly maxValue

maxValue: number

Readonly minValue

minValue: number

value

value: number

Methods

cancelAndHoldAtTime

  • cancelAndHoldAtTime(cancelTime: number): AudioParam
  • Parameters

    • cancelTime: number

    Returns AudioParam

cancelScheduledValues

  • cancelScheduledValues(cancelTime: number): AudioParam
  • Parameters

    • cancelTime: number

    Returns AudioParam

exponentialRampToValueAtTime

  • exponentialRampToValueAtTime(value: number, endTime: number): AudioParam
  • Parameters

    • value: number
    • endTime: number

    Returns AudioParam

linearRampToValueAtTime

  • linearRampToValueAtTime(value: number, endTime: number): AudioParam
  • Parameters

    • value: number
    • endTime: number

    Returns AudioParam

setTargetAtTime

  • setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam
  • Parameters

    • target: number
    • startTime: number
    • timeConstant: number

    Returns AudioParam

setValueAtTime

  • setValueAtTime(value: number, startTime: number): AudioParam
  • Parameters

    • value: number
    • startTime: number

    Returns AudioParam

setValueCurveAtTime

  • Parameters

    • values: number[] | Float32Array
    • startTime: number
    • duration: number

    Returns AudioParam

Generated using TypeDoc