Interface AudioParam

    interface AudioParam {
        automationRate: AutomationRate;
        defaultValue: number;
        maxValue: number;
        minValue: number;
        value: number;
        cancelAndHoldAtTime(cancelTime: number): AudioParam;
        cancelScheduledValues(cancelTime: number): AudioParam;
        exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;
        linearRampToValueAtTime(value: number, endTime: number): AudioParam;
        setTargetAtTime(
            target: number,
            startTime: number,
            timeConstant: number,
        ): AudioParam;
        setValueAtTime(value: number, startTime: number): AudioParam;
        setValueCurveAtTime(
            values: number[] | Float32Array,
            startTime: number,
            duration: number,
        ): AudioParam;
        setValueCurveAtTime(
            values: Iterable<number>,
            startTime: number,
            duration: number,
        ): AudioParam;
    }

    Properties

    automationRate: AutomationRate
    defaultValue: number
    maxValue: number
    minValue: number
    value: number

    Methods

    • Parameters

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

      Returns AudioParam