PeriodicWave class

The interface defines a periodic waveform that can be used to shape the output of an OscillatorNode. has no inputs or outputs; it is used to define custom oscillators when calling OscillatorNode.setPeriodicWave(). The itself is created/returned by BaseAudioContext.createPeriodicWave.

Annotations
  • @JS()
  • @staticInterop

Constructors

PeriodicWave(BaseAudioContext context, [PeriodicWaveOptions? options])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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