FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setShape()

void fl::audio::SynthOscillatorImpl::setShape ( SynthShape shape)
overridevirtual

Change waveform shape (takes effect at next cycle boundary)

Parameters
shapePredefined waveform shape

Implements fl::audio::ISynthOscillator.

Definition at line 184 of file synth.cpp.hpp.

184 {
186}
void setParams(const SynthParams &params) override
Change waveform parameters (takes effect at next cycle boundary)
static SynthParams fromShape(SynthShape shape)
Create parameters for a predefined shape.
Definition synth.cpp.hpp:78

References fl::audio::SynthParams::fromShape(), and setParams().

+ Here is the call graph for this function: