|
msl 1.3.0
|
Compute phase cycling with linear and quadratic increments.
#include <PhaseCycling.h>
Public Member Functions | |
| PhaseCycling (long linearIncrement=0, long quadraticIncrement=0) | |
| Create a phase cycling object with specified increments. | |
| long | linearIncrement () const |
| Return the linear increment of the phase cycling, in degrees. | |
| PhaseCycling & | setLinearIncrement (long linearIncrement) |
| Set the linear increment of the phase cycling, in degrees. | |
| long | quadraticIncrement () const |
| Return the quadratic increment of the phase cycling, in degrees. | |
| PhaseCycling & | setQuadraticIncrement (long quadraticIncrement) |
| Set the quadratic increment of the phase cycling, in degrees. | |
| long | phase () const |
| Return the current phase in degrees modulo 360. | |
| PhaseCycling & | operator++ () |
| Increment the phase cycling and return the current object. | |
| PhaseCycling | operator++ (int) |
| Increment the phase cycling and return the previous object. | |
| PhaseCycling & | reset () |
| Reset the phase cycling to 0. | |