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

A SynthParameter that can be automated and modulated by other nodes. Note that final result is the sum of the base value, automation and modulation. More...

Inheritance diagram for Synth8.SynthModulatedParameter:
Synth8.SynthParameter

Public Member Functions

 SynthModulatedParameter (float value)
 Constructor that takes an initial value. More...
 
void UpdateValue (float length, float time)
 Update the ModulatedValue given its automation and modulation. More...
 
- Public Member Functions inherited from Synth8.SynthParameter
 SynthParameter (float value)
 Constructor that takes an initial value. More...
 
void SetRandomizer (float min, float max)
 Sets the randomizer to generate random values between "min" and "max". More...
 
void Randomize ()
 Randomize the parameter if the randomizer is set. More...
 

Public Attributes

SynthClipNode modulation
 Other node that may modulate this value. More...
 
AnimationCurve automation = AnimationCurve.Linear( 0.0f, 0.0f, 1.0f, 0.0f )
 The automation curve. It's x-axis (0.0f ~ 1.0f) is scaled to the audio's length. More...
 
- Public Attributes inherited from Synth8.SynthParameter
float value
 The parameter's current value. More...
 
FloatBounds randomizer = null
 The parameter's randomizer min/max bounds. "null" means that no randomization is applied. More...
 

Properties

float ModulatedValue [get]
 The modulated final value. More...
 

Detailed Description

A SynthParameter that can be automated and modulated by other nodes. Note that final result is the sum of the base value, automation and modulation.

Constructor & Destructor Documentation

Synth8.SynthModulatedParameter.SynthModulatedParameter ( float  value)

Constructor that takes an initial value.

Parameters
value

Member Function Documentation

void Synth8.SynthModulatedParameter.UpdateValue ( float  length,
float  time 
)

Update the ModulatedValue given its automation and modulation.

Parameters
length
time

Member Data Documentation

AnimationCurve Synth8.SynthModulatedParameter.automation = AnimationCurve.Linear( 0.0f, 0.0f, 1.0f, 0.0f )

The automation curve. It's x-axis (0.0f ~ 1.0f) is scaled to the audio's length.

SynthClipNode Synth8.SynthModulatedParameter.modulation

Other node that may modulate this value.

Property Documentation

float Synth8.SynthModulatedParameter.ModulatedValue
get

The modulated final value.


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