FunctionNode class

An audio node that generates audio data by a function.

Inheritance

Constructors

FunctionNode.new({required WaveFunction function, required AudioFormat format, required double frequency, AudioTime time = const AudioTime(0)})
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer

Properties

frequency double
The frequency of the audio data.
getter/setter pair
function WaveFunction
The function that generates audio data.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputs List<AudioInputBus>
The list of input buses.
no setterinherited
outputBus AudioOutputBus
outputBus of this node.
latefinalinherited
outputFormat AudioFormat
The format of the audio data that this node provides.
final
outputs List<AudioOutputBus>
The list of output buses.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time AudioTime
Current time of this node.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(AudioOutputBus outputBus, AudioBuffer buffer) AudioReadResult
Read audio data from the input bus and write audio data to the output bus.
override
toString() String
A string representation of this object.
inherited

Operators

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