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

One of the most important nodes. The oscillator produces signals at frequencies that the human ear can hear. More...

Inheritance diagram for Synth8.Oscillator:
Synth8.BaseOscillator Synth8.SynthClipNode

Public Member Functions

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

Public Attributes

SynthModulatedParameter midiNote = new SynthModulatedParameter( MidiHelper.A440MidiNote )
 Control the pitch of the audio by setting its midi node number. More...
 
- Public Attributes inherited from Synth8.BaseOscillator
Wave wave
 The wave node that controls the oscillation. More...
 
SynthModulatedParameter amplitude = new SynthModulatedParameter( 1.0f )
 The amplitude of the oscillation. 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

override float GetHertz (float length, float time)
 The the hertz frequency of the oscillator at the given time. More...
 

Detailed Description

One of the most important nodes. The oscillator produces signals at frequencies that the human ear can hear.

Member Function Documentation

override float Synth8.Oscillator.GetHertz ( float  length,
float  time 
)
protectedvirtual

The the hertz frequency of the oscillator at the given time.

Parameters
length
time
Returns

Reimplemented from Synth8.BaseOscillator.

override void Synth8.Oscillator.Randomize ( )
virtual

Called when randomizing the node's parameters.

Reimplemented from Synth8.BaseOscillator.

Member Data Documentation

SynthModulatedParameter Synth8.Oscillator.midiNote = new SynthModulatedParameter( MidiHelper.A440MidiNote )

Control the pitch of the audio by setting its midi node number.


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