WAWaveShaperNode class
Distortion / saturation via a shaping curve. Mirrors Web Audio API WaveShaperNode.
Constructors
- WAWaveShaperNode({required int nodeId, required int contextId})
- Creates a new WaveShaperNode.
Properties
- channelCount ↔ int
-
The number of channels used by this node.
getter/setter pairinherited
- channelCountMode ↔ WAChannelCountMode
-
How channels are mapped when connecting nodes.
getter/setter pairinherited
- channelInterpretation ↔ WAChannelInterpretation
-
How to interpret channels (speakers vs discrete).
getter/setter pairinherited
- contextId → int
-
Internal context ID.
no setterinherited
- curve ↔ Float32List?
-
The shaping curve. Null means no shaping (pass-through).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nodeId → int
-
Internal node ID used by the backend.
no setterinherited
- numberOfInputs → int
-
Number of inputs this node accepts.
no setteroverride
- numberOfOutputs → int
-
Number of outputs this node produces.
no setteroverride
- oversample ↔ WAOverSampleType
-
Oversampling mode to reduce aliasing.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
WANode destination, {int output = 0, int input = 0}) → WANode -
Connect this node's output to the input of
destination.inherited -
disconnect(
[WANode? destination]) → void -
Disconnect this node from all destinations, or from a specific
destination.inherited -
dispose(
) → void -
Free this node's native resources.
inherited
-
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