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

Like an AudioClip that can be tweaked and randomized in runtime. More...

Inheritance diagram for Synth8.SynthClip:

Public Member Functions

AudioClip RenderClip (bool streamed)
 Render the audio as an AudioClip. More...
 
void Randomize ()
 Apply randomization to the nodes parameters. Then you can call RenderClip() and have a slightly different version of your audio. More...
 
void Copy (SynthClip preset)
 Make a copy of another SynthClip as a preset. More...
 

Public Attributes

float length = 1.0f
 The length of the audio in seconds. More...
 
SynthClipNode[] nodes = new SynthClipNode[0]
 All the nodes that are used to compose the resulting audio. More...
 

Detailed Description

Like an AudioClip that can be tweaked and randomized in runtime.

Member Function Documentation

void Synth8.SynthClip.Copy ( SynthClip  preset)

Make a copy of another SynthClip as a preset.

Parameters
preset
void Synth8.SynthClip.Randomize ( )

Apply randomization to the nodes parameters. Then you can call RenderClip() and have a slightly different version of your audio.

AudioClip Synth8.SynthClip.RenderClip ( bool  streamed)

Render the audio as an AudioClip.

Parameters
streamed
Returns

Member Data Documentation

float Synth8.SynthClip.length = 1.0f

The length of the audio in seconds.

SynthClipNode [] Synth8.SynthClip.nodes = new SynthClipNode[0]

All the nodes that are used to compose the resulting audio.


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