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

◆ create()

ISynthEnginePtr fl::audio::ISynthEngine::create ( i32 width = 32,
i32 oversample = 16 )
static

Factory function to create an engine with the specified quality settings.

Parameters
widthBLEP width (4..64), larger = better quality, more CPU
oversampleOversampling factor (2+), larger = less noise
Returns
Shared pointer to the engine

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

98 {
99 return fl::make_shared<SynthEngineImpl>(width, oversample);
100}
u8 width
Definition blur.h:186
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Definition shared_ptr.h:414

References fl::make_shared(), and fl::width.

+ Here is the call graph for this function: