| 149 | } |
| 150 | |
| 151 | void LfoEngine::setPhase(float newPhase) |
| 152 | { |
| 153 | // Directly sets the internal phase, ensuring it stays within the valid [0, 1] range. |
| 154 | phase = juce::jlimit(0.0f, 1.0f, newPhase); |
| 155 | } |
| 156 | |
| 157 | float LfoEngine::getPhase() const |
| 158 | { |