|
|
| void hormodular::Oscillator::setParameters |
( |
float |
amplitude, |
|
|
float |
offset, |
|
|
float |
phase, |
|
|
int |
period_ms = 0 |
|
) |
| |
Set all the oscillator parameters at once.
- Parameters:
-
| amplitude | Amplitude of the oscillation, [0,90] degrees |
| offset | Offset of the oscillation, [-90,90] degrees |
| phase | Phase of the oscillation [0, 360] degrees |
| period_ms | Period of the oscillation in ms. A value of 0 means "use the current value". |
|