Synth Node
Generates a sine wave shaped by an ADSR envelope, writing the same signal to every output channel. The output is silent until a note is triggered; triggering and releasing notes is currently only possible from native code, not through actions.
Configuration
This object does not provide any configuration options.
Properties
Inherits properties from its parents, Node, SwitchboardObject.
attack
Type: Float
Default: 0.0
Range: 0.0 to 2.0
Time in seconds to ramp from the current level (0 when silent) up to peakLevel after a note is triggered.
decay
Type: Float
Default: 0.0
Range: 0.0 to 2.0
Time in seconds to fall from peakLevel to the sustain level after the attack phase.
frequency
Type: Float
Default: 440.0
Range: 10.0 to 2000.0
Frequency of the sine wave in Hz.
peakLevel
Type: Float
Default: 1.0
Range: 0.0 to 1.0
Level reached at the end of the attack phase, as a linear gain.
release
Type: Float
Default: 0.0
Range: 0.0 to 2.0
Time in seconds to fade from the current level to silence after the note is released.
sustain
Type: Float
Default: 1.0
Range: 0.0 to 1.0
Level held after the decay phase for as long as the note stays triggered, as a linear gain.
Actions
Inherits actions from its parent, SwitchboardObject.
This object does not provide any additional actions.
Events
This object does not provide any events.