FastLED 3.9.15
Loading...
Searching...
No Matches
fl::audio::ISynthEngine Class Referenceabstract

Detailed Description

Interface for synth engine that holds BLEP/BLAMP tables.

ISynthEngine encapsulates the precomputed tables needed for anti-aliased waveform generation. You can create multiple engines with different quality settings.

Definition at line 90 of file synth.h.

#include <synth.h>

+ Inheritance diagram for fl::audio::ISynthEngine:

Public Member Functions

virtual ~ISynthEngine () FL_NOEXCEPT=default
 
virtual i32 getOversample () const =0
 Get the oversample setting.
 
virtual i32 getWidth () const =0
 Get the width setting.
 
virtual bool isValid () const =0
 Check if engine was initialized successfully.
 

Static Public Member Functions

static ISynthEnginePtr create (i32 width=32, i32 oversample=16)
 Factory function to create an engine with the specified quality settings.
 

The documentation for this class was generated from the following files: