|
FastLED 3.9.15
|
#include <synth.h>
Public Member Functions | |
| SynthParams () FL_NOEXCEPT=default | |
| Default constructor - sawtooth wave. | |
| SynthParams (i32 reflect, float peakTime, float halfHeight, float zeroWait) | |
| Full parameter constructor. | |
Static Public Member Functions | |
| static SynthParams | fromShape (SynthShape shape) |
| Create parameters for a predefined shape. | |
Public Attributes | |
| float | halfHeight = 0.0f |
| Height at half-cycle point. | |
| float | peakTime = 0.0f |
| Position of peak in cycle [0..1]. | |
| i32 | reflect = 1 |
| Mirror second half of waveform (0 or 1) | |
| float | zeroWait = 0.0f |
| Wait time at zero [0..1]. | |