FastLED 3.10.8
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_NO_EXCEPT=default
 
virtual i32 getOversample () const FL_NO_EXCEPT=0
 Get the oversample setting.
 
virtual i32 getWidth () const FL_NO_EXCEPT=0
 Get the width setting.
 
virtual bool isValid () const FL_NO_EXCEPT=0
 Check if engine was initialized successfully.
 

Static Public Member Functions

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

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