The LFO object implements a mathematically perfect LFO generator for modulation uses only. It should not be used for audio frequencies except for the sinusoidal output which, though an approximation, has very low TDH.
More...
#include <fxobjects.h>
|
bool | checkAndWrapModulo (double &moduloCounter, double phaseInc) |
|
bool | advanceAndCheckWrapModulo (double &moduloCounter, double phaseInc) |
|
void | advanceModulo (double &moduloCounter, double phaseInc) |
|
double | parabolicSine (double angle) |
|
bool | checkAndWrapModulo (double &moduloCounter, double phaseInc) |
|
bool | advanceAndCheckWrapModulo (double &moduloCounter, double phaseInc) |
|
void | advanceModulo (double &moduloCounter, double phaseInc) |
|
double | parabolicSine (double angle) |
|
bool | checkAndWrapModulo (double &moduloCounter, double phaseInc) |
|
bool | advanceAndCheckWrapModulo (double &moduloCounter, double phaseInc) |
|
void | advanceModulo (double &moduloCounter, double phaseInc) |
|
double | parabolicSine (double angle) |
|
bool | checkAndWrapModulo (double &moduloCounter, double phaseInc) |
|
bool | advanceAndCheckWrapModulo (double &moduloCounter, double phaseInc) |
|
void | advanceModulo (double &moduloCounter, double phaseInc) |
|
double | parabolicSine (double angle) |
|
The LFO object implements a mathematically perfect LFO generator for modulation uses only. It should not be used for audio frequencies except for the sinusoidal output which, though an approximation, has very low TDH.
Audio I/O:
- Output only object: low frequency generator.
Control I/F:
- Author
- Will Pirkle http://www.willpirkle.com
- Version
- Revision : 1.0
- Date
- Date : 2018 / 09 / 7
◆ advanceAndCheckWrapModulo() [1/4]
bool LFO::advanceAndCheckWrapModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
advanvce the modulo counter, then check the modulo counter and wrap if needed
◆ advanceAndCheckWrapModulo() [2/4]
bool LFO::advanceAndCheckWrapModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
advanvce the modulo counter, then check the modulo counter and wrap if needed
◆ advanceAndCheckWrapModulo() [3/4]
bool LFO::advanceAndCheckWrapModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
advanvce the modulo counter, then check the modulo counter and wrap if needed
◆ advanceAndCheckWrapModulo() [4/4]
bool LFO::advanceAndCheckWrapModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
advanvce the modulo counter, then check the modulo counter and wrap if needed
◆ advanceModulo() [1/4]
void LFO::advanceModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
advanvce the modulo counter
◆ advanceModulo() [2/4]
void LFO::advanceModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
advanvce the modulo counter
◆ advanceModulo() [3/4]
void LFO::advanceModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
advanvce the modulo counter
◆ advanceModulo() [4/4]
void LFO::advanceModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
advanvce the modulo counter
◆ checkAndWrapModulo() [1/4]
bool LFO::checkAndWrapModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
check the modulo counter and wrap if needed
◆ checkAndWrapModulo() [2/4]
bool LFO::checkAndWrapModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
check the modulo counter and wrap if needed
◆ checkAndWrapModulo() [3/4]
bool LFO::checkAndWrapModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
check the modulo counter and wrap if needed
◆ checkAndWrapModulo() [4/4]
bool LFO::checkAndWrapModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
check the modulo counter and wrap if needed
◆ getParameters() [1/4]
get parameters: note use of custom structure for passing param data
- Returns
- OscillatorParameters custom data structure
◆ getParameters() [2/4]
get parameters: note use of custom structure for passing param data
- Returns
- OscillatorParameters custom data structure
◆ getParameters() [3/4]
get parameters: note use of custom structure for passing param data
- Returns
- OscillatorParameters custom data structure
◆ getParameters() [4/4]
get parameters: note use of custom structure for passing param data
- Returns
- OscillatorParameters custom data structure
◆ parabolicSine() [1/4]
double LFO::parabolicSine |
( |
double |
angle | ) |
|
|
inlineprotected |
◆ parabolicSine() [2/4]
double LFO::parabolicSine |
( |
double |
angle | ) |
|
|
inlineprotected |
◆ parabolicSine() [3/4]
double LFO::parabolicSine |
( |
double |
angle | ) |
|
|
inlineprotected |
◆ parabolicSine() [4/4]
double LFO::parabolicSine |
( |
double |
angle | ) |
|
|
inlineprotected |
◆ renderAudioOutput() [1/4]
◆ renderAudioOutput() [2/4]
generates the oscillator output for one sample interval; note that there are multiple outputs.
render a new audio output structure
Implements IAudioSignalGenerator.
◆ renderAudioOutput() [3/4]
◆ renderAudioOutput() [4/4]
◆ reset() [1/4]
virtual bool LFO::reset |
( |
double |
_sampleRate | ) |
|
|
inlinevirtual |
reset members to initialized state
< modulo counter [0.0, +1.0]
<Quad Phase modulo counter [0.0, +1.0]
Implements IAudioSignalGenerator.
◆ reset() [2/4]
virtual bool LFO::reset |
( |
double |
_sampleRate | ) |
|
|
inlinevirtual |
reset members to initialized state
< modulo counter [0.0, +1.0]
<Quad Phase modulo counter [0.0, +1.0]
Implements IAudioSignalGenerator.
◆ reset() [3/4]
virtual bool LFO::reset |
( |
double |
_sampleRate | ) |
|
|
inlinevirtual |
reset members to initialized state
< modulo counter [0.0, +1.0]
<Quad Phase modulo counter [0.0, +1.0]
Implements IAudioSignalGenerator.
◆ reset() [4/4]
virtual bool LFO::reset |
( |
double |
_sampleRate | ) |
|
|
inlinevirtual |
reset members to initialized state
< modulo counter [0.0, +1.0]
<Quad Phase modulo counter [0.0, +1.0]
Implements IAudioSignalGenerator.
◆ setParameters() [1/4]
set parameters: note use of custom structure for passing param data
- Parameters
-
◆ setParameters() [2/4]
set parameters: note use of custom structure for passing param data
- Parameters
-
◆ setParameters() [3/4]
set parameters: note use of custom structure for passing param data
- Parameters
-
◆ setParameters() [4/4]
set parameters: note use of custom structure for passing param data
- Parameters
-
The documentation for this class was generated from the following files:
- C:/RackAFX_v7/ASPIK_SDK/samples/demo_custom_views/With FFTW/DemoCustomViews/project_source/source/PluginObjects/fxobjects.h
- C:/RackAFX_v7/ASPIK_SDK/samples/demo_custom_views/With FFTW/DemoCustomViews/project_source/source/PluginObjects/fxobjects.cpp