8Synth  2.0
Procedural 8-bit SFX creator.
Synth8.Wave Class Referenceabstract

The base class to all wave nodes. More...

Inheritance diagram for Synth8.Wave:
Synth8.SynthClipNode Synth8.IPlottable Synth8.NoiseWave Synth8.SineWave Synth8.SquareWave Synth8.TriangleWave

Public Member Functions

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

Public Attributes

SynthModulatedParameter dutyCycle = new SynthModulatedParameter( 0.5f )
 The duty cycle controls the wave form. 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

float GetDutyCycle ()
 

Detailed Description

The base class to all wave nodes.

Member Function Documentation

override void Synth8.Wave.OnUpdateTime ( float  length,
float  deltaTime,
float  time 
)
virtual

Called when updating the position in time of the audio being rendered.

Parameters
length
deltaTime
time

Reimplemented from Synth8.SynthClipNode.

override void Synth8.Wave.Randomize ( )
virtual

Called when randomizing the node's parameters.

Reimplemented from Synth8.SynthClipNode.

Member Data Documentation

SynthModulatedParameter Synth8.Wave.dutyCycle = new SynthModulatedParameter( 0.5f )

The duty cycle controls the wave form.


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