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>
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()
bool LFO::advanceAndCheckWrapModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
advanvce the modulo counter, then check the modulo counter and wrap if needed
◆ advanceModulo()
void LFO::advanceModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
advanvce the modulo counter
◆ checkAndWrapModulo()
bool LFO::checkAndWrapModulo |
( |
double & |
moduloCounter, |
|
|
double |
phaseInc |
|
) |
| |
|
inlineprotected |
check the modulo counter and wrap if needed
◆ getParameters()
get parameters: note use of custom structure for passing param data
- Returns
- OscillatorParameters custom data structure
◆ parabolicSine()
double LFO::parabolicSine |
( |
double |
angle | ) |
|
|
inlineprotected |
◆ renderAudioOutput()
generates the oscillator output for one sample interval; note that there are multiple outputs.
render a new audio output structure
Implements IAudioSignalGenerator.
◆ reset()
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()
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/PluginTemplate/project_source/source/PluginObjects/fxobjects.h
- C:/RackAFX_v7/ASPIK_SDK/PluginTemplate/project_source/source/PluginObjects/fxobjects.cpp