Call this from your processor before each block to set the LFO speed. The processor is responsible for calculating the correct delta for Hz or BPM sync.
| 144 | // Call this from your processor before each block to set the LFO speed. |
| 145 | // The processor is responsible for calculating the correct delta for Hz or BPM sync. |
| 146 | void LfoEngine::setPhaseDelta(float newPhaseDelta) |
| 147 | { |
| 148 | phaseDelta = newPhaseDelta; |
| 149 | } |
| 150 | |
| 151 | void LfoEngine::setPhase(float newPhase) |
| 152 | { |