LFO with many shapes.
More...
#include <gin_lfo.h>
|
| enum class | WaveShape : int {
none
, sine
, triangle
, sawUp
,
sawDown
, square
, squarePos
, sampleAndHold
,
noise
, stepUp3
, stepUp4
, stepup8
,
stepDown3
, stepDown4
, stepDown8
, pyramid3
,
pyramid5
, pyramid9
} |
| |
◆ WaveShape
| Enumerator |
|---|
| none | |
| sine | |
| triangle | |
| sawUp | |
| sawDown | |
| square | |
| squarePos | |
| sampleAndHold | |
| noise | |
| stepUp3 | |
| stepUp4 | |
| stepup8 | |
| stepDown3 | |
| stepDown4 | |
| stepDown8 | |
| pyramid3 | |
| pyramid5 | |
| pyramid9 | |
◆ LFO()
◆ setSampleRate()
| void LFO::setSampleRate |
( |
double |
sr | ) |
|
◆ setParameters()
◆ reset()
◆ noteOn()
| void LFO::noteOn |
( |
float |
phase_ = -1.0f | ) |
|
◆ process()
| float LFO::process |
( |
int |
numSamples | ) |
|
◆ getOutput()
◆ getOutputUnclamped()
| float LFO::getOutputUnclamped |
( |
| ) |
|
◆ getCurrentPhase()
| float LFO::getCurrentPhase |
( |
| ) |
|
◆ maxRandomPhase
| constexpr int LFO::maxRandomPhase = 1000 |
|
staticconstexpr |
The documentation for this class was generated from the following file: