AudioParam

Overview

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

Location


 

cancelAndHoldAtTime

Cancels all scheduled future changes to the AudioParam but holds its value at a given time until further changes are made using other methods.

 

method cancelAndHoldAtTime(parcancelTime: dynamic): AudioParam

 

AudioParam cancelAndHoldAtTime(dynamic parcancelTime)

 

func cancelAndHoldAtTime(_ parcancelTime: dynamic) -> AudioParam

 

AudioParam cancelAndHoldAtTime(dynamic parcancelTime)

 

Function cancelAndHoldAtTime(parcancelTime As dynamic) As AudioParam

Parameters:

  • parcancelTime:

defaultValue

 

property defaultValue: String read;

 

String defaultValue { get; }

 

var defaultValue: String { get{} }

 

String defaultValue { __get; }

 

ReadOnly Property defaultValue() As String

maxValue

 

property maxValue: String read;

 

String maxValue { get; }

 

var maxValue: String { get{} }

 

String maxValue { __get; }

 

ReadOnly Property maxValue() As String

minValue

 

property minValue: String read;

 

String minValue { get; }

 

var minValue: String { get{} }

 

String minValue { __get; }

 

ReadOnly Property minValue() As String

setValueCurveAtTime

Schedules the values of the AudioParam to follow a set of values, defined by an array of floating-point numbers scaled to fit into the given interval, starting at a given start time and spanning a given duration of time.

 

method setValueCurveAtTime(parvalues: dynamic; parstartTime: dynamic; parduration: dynamic): Double

 

Double setValueCurveAtTime(dynamic parvalues, dynamic parstartTime, dynamic parduration)

 

func setValueCurveAtTime(_ parvalues: dynamic, _ parstartTime: dynamic, _ parduration: dynamic) -> Double

 

Double setValueCurveAtTime(dynamic parvalues, dynamic parstartTime, dynamic parduration)

 

Function setValueCurveAtTime(parvalues As dynamic, parstartTime As dynamic, parduration As dynamic) As Double

Parameters:

  • parvalues:
  • parstartTime:
  • parduration:

value

 

property value: String read write;

 

String value { get; set; }

 

var value: String { get{} set{} }

 

String value { __get; __set; }

 

Property value() As String

 

defaultValue

 

property defaultValue: String read;

 

String defaultValue { get; }

 

var defaultValue: String { get{} }

 

String defaultValue { __get; }

 

ReadOnly Property defaultValue() As String

maxValue

 

property maxValue: String read;

 

String maxValue { get; }

 

var maxValue: String { get{} }

 

String maxValue { __get; }

 

ReadOnly Property maxValue() As String

minValue

 

property minValue: String read;

 

String minValue { get; }

 

var minValue: String { get{} }

 

String minValue { __get; }

 

ReadOnly Property minValue() As String

value

 

property value: String read write;

 

String value { get; set; }

 

var value: String { get{} set{} }

 

String value { __get; __set; }

 

Property value() As String

 

cancelAndHoldAtTime

Cancels all scheduled future changes to the AudioParam but holds its value at a given time until further changes are made using other methods.

 

method cancelAndHoldAtTime(parcancelTime: dynamic): AudioParam

 

AudioParam cancelAndHoldAtTime(dynamic parcancelTime)

 

func cancelAndHoldAtTime(_ parcancelTime: dynamic) -> AudioParam

 

AudioParam cancelAndHoldAtTime(dynamic parcancelTime)

 

Function cancelAndHoldAtTime(parcancelTime As dynamic) As AudioParam

Parameters:

  • parcancelTime:

setValueCurveAtTime

Schedules the values of the AudioParam to follow a set of values, defined by an array of floating-point numbers scaled to fit into the given interval, starting at a given start time and spanning a given duration of time.

 

method setValueCurveAtTime(parvalues: dynamic; parstartTime: dynamic; parduration: dynamic): Double

 

Double setValueCurveAtTime(dynamic parvalues, dynamic parstartTime, dynamic parduration)

 

func setValueCurveAtTime(_ parvalues: dynamic, _ parstartTime: dynamic, _ parduration: dynamic) -> Double

 

Double setValueCurveAtTime(dynamic parvalues, dynamic parstartTime, dynamic parduration)

 

Function setValueCurveAtTime(parvalues As dynamic, parstartTime As dynamic, parduration As dynamic) As Double

Parameters:

  • parvalues:
  • parstartTime:
  • parduration: