8Synth  2.0
Procedural 8-bit SFX creator.
Synth8.LFO Class Reference

Low frequency oscillator. It does not produce audible signals. However, it may be used to modulate other node's parameters. More...

Inheritance diagram for Synth8.LFO:
Synth8.BaseOscillator Synth8.SynthClipNode

Public Member Functions

override void Randomize ()
 Called when randomizing the node's parameters. More...
 
- Public Member Functions inherited from Synth8.BaseOscillator
override void Init ()
 Called when initializing the node. More...
 
override float GetSample ()
 The node's main method. This return is used to pass values to other nodes. More...
 
override void OnSetTime (float length, float time)
 Called when jumping to a certain time of the audio being rendered. More...
 
override void OnUpdateTime (float length, float deltaTime, float time)
 Called when updating the position in time of the audio being rendered. More...
 

Public Attributes

SynthModulatedParameter frequency = new SynthModulatedParameter( 1.0f )
 The frequency of the oscillation. More...
 
bool relative = false
 Controls if the frequency is in hertz or relative to the audio's total length. More...
 
- Public Attributes inherited from Synth8.BaseOscillator
Wave wave
 The wave node that controls the oscillation. More...
 
SynthModulatedParameter amplitude = new SynthModulatedParameter( 1.0f )
 The amplitude of the oscillation. More...
 
- Public Attributes inherited from Synth8.SynthClipNode
int x
 The node's x position in the graph. More...
 
int y
 The node's y position in the graph. More...
 

Protected Member Functions

override float GetHertz (float length, float time)
 The the hertz frequency of the oscillator at the given time. More...
 

Detailed Description

Low frequency oscillator. It does not produce audible signals. However, it may be used to modulate other node's parameters.

Member Function Documentation

override float Synth8.LFO.GetHertz ( float  length,
float  time 
)
protectedvirtual

The the hertz frequency of the oscillator at the given time.

Parameters
length
time
Returns

Reimplemented from Synth8.BaseOscillator.

override void Synth8.LFO.Randomize ( )
virtual

Called when randomizing the node's parameters.

Reimplemented from Synth8.BaseOscillator.

Member Data Documentation

SynthModulatedParameter Synth8.LFO.frequency = new SynthModulatedParameter( 1.0f )

The frequency of the oscillation.

bool Synth8.LFO.relative = false

Controls if the frequency is in hertz or relative to the audio's total length.


The documentation for this class was generated from the following file: