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

Base class of every SynthClip node. Inherit from it if you want to create custom nodes. More...

Inheritance diagram for Synth8.SynthClipNode:
Synth8.BaseOscillator Synth8.Envelope Synth8.Output Synth8.Wave Synth8.LFO Synth8.Oscillator Synth8.NoiseWave Synth8.SineWave Synth8.SquareWave Synth8.TriangleWave

Classes

class  NodeMenuAttribute
 Control how a node appears in the "Add Node" menu in the editor. More...
 

Public Member Functions

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

Public Attributes

int x
 The node's x position in the graph. More...
 
int y
 The node's y position in the graph. More...
 

Detailed Description

Base class of every SynthClip node. Inherit from it if you want to create custom nodes.

Member Function Documentation

virtual float Synth8.SynthClipNode.GetSample ( )
virtual

The node's main method. This return is used to pass values to other nodes.

Returns

Reimplemented in Synth8.Envelope, Synth8.BaseOscillator, and Synth8.Output.

virtual void Synth8.SynthClipNode.Init ( )
virtual

Called when initializing the node.

Reimplemented in Synth8.Envelope, and Synth8.BaseOscillator.

virtual void Synth8.SynthClipNode.OnSetTime ( float  length,
float  time 
)
virtual

Called when jumping to a certain time of the audio being rendered.

Parameters
length
time

Reimplemented in Synth8.BaseOscillator.

virtual void Synth8.SynthClipNode.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 in Synth8.Envelope, Synth8.BaseOscillator, and Synth8.Wave.

virtual void Synth8.SynthClipNode.Randomize ( )
virtual

Called when randomizing the node's parameters.

Reimplemented in Synth8.Envelope, Synth8.BaseOscillator, Synth8.LFO, Synth8.Oscillator, and Synth8.Wave.

Member Data Documentation

int Synth8.SynthClipNode.x

The node's x position in the graph.

int Synth8.SynthClipNode.y

The node's y position in the graph.


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