AudioParamDescriptor class

The dictionary of the Web Audio API specifies properties for AudioParam objects. It is used to create custom AudioParams on an AudioWorkletNode. If the underlying AudioWorkletProcessor has a parameterDescriptors static getter, then the returned array of objects based on this dictionary is used internally by AudioWorkletNode constructor to populate its parameters property accordingly.

Available extensions
Annotations
  • @anonymous
  • @JS()
  • @staticInterop

Constructors

AudioParamDescriptor({required String name, double? defaultValue, double? minValue, double? maxValue, AutomationRate? automationRate})
factory

Properties

automationRate AutomationRate

Available on AudioParamDescriptor, provided by the PropsAudioParamDescriptor extension

getter/setter pair
defaultValue double

Available on AudioParamDescriptor, provided by the PropsAudioParamDescriptor extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxValue double

Available on AudioParamDescriptor, provided by the PropsAudioParamDescriptor extension

getter/setter pair
minValue double

Available on AudioParamDescriptor, provided by the PropsAudioParamDescriptor extension

getter/setter pair
name String

Available on AudioParamDescriptor, provided by the PropsAudioParamDescriptor extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited