FastLED 3.10.8
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) FL_NO_EXCEPT override
Change waveform parameters (takes effect at next cycle boundary)
static SynthParams fromShape(SynthShape shape) FL_NO_EXCEPT
Create parameters for a predefined shape.
Definition synth.cpp.hpp:78

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

+ Here is the call graph for this function: