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

A parameter in a SynthClip node that can be randomized. More...

Inheritance diagram for Synth8.SynthParameter:
Synth8.SynthModulatedParameter

Public Member Functions

 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

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...
 

Detailed Description

A parameter in a SynthClip node that can be randomized.

Constructor & Destructor Documentation

Synth8.SynthParameter.SynthParameter ( float  value)

Constructor that takes an initial value.

Parameters
value

Member Function Documentation

void Synth8.SynthParameter.Randomize ( )

Randomize the parameter if the randomizer is set.

void Synth8.SynthParameter.SetRandomizer ( float  min,
float  max 
)

Sets the randomizer to generate random values between "min" and "max".

Parameters
min
max

Member Data Documentation

FloatBounds Synth8.SynthParameter.randomizer = null

The parameter's randomizer min/max bounds. "null" means that no randomization is applied.

float Synth8.SynthParameter.value

The parameter's current value.


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