FastLED 3.9.15
Loading...
Searching...
No Matches
fl::third_party::hexwave Namespace Reference

Classes

struct  hexvert
 
struct  HexWave
 
struct  HexWaveEngine
 Engine state holding BLEP/BLAMP tables. More...
 
struct  HexWaveParameters
 

Functions

template<typename T>
enable_if< is_fixed_point< T >::value, T >::type cos (T angle) FL_NOEXCEPT
 
double fabs (double value) FL_NOEXCEPT
 
void free (void *ptr)
 
static void hex_add_oversampled_bleplike (float *output, float time_since_transition, float scale, float *data, HexWaveEngine *engine) FL_NOEXCEPT
 
static void hex_blamp (float *output, float time_since_transition, float scale, HexWaveEngine *engine) FL_NOEXCEPT
 
static void hex_blep (float *output, float time_since_transition, float scale, HexWaveEngine *engine) FL_NOEXCEPT
 
void hexwave_change (HexWave *hex, int32_t reflect, float peak_time, float half_height, float zero_wait) FL_NOEXCEPT
 Change oscillator waveform parameters (takes effect at next cycle boundary)
 
void hexwave_create (HexWave *hex, HexWaveEngine *engine, int32_t reflect, float peak_time, float half_height, float zero_wait) FL_NOEXCEPT
 Create a new oscillator with the given waveform parameters.
 
void hexwave_create_legacy (HexWave *hex, int32_t reflect, float peak_time, float half_height, float zero_wait) FL_NOEXCEPT
 Create oscillator using global engine (DEPRECATED)
 
HexWaveEnginehexwave_engine_create (int32_t width, int32_t oversample, float *user_buffer) FL_NOEXCEPT
 Create and initialize a new HexWaveEngine.
 
void hexwave_engine_destroy (HexWaveEngine *engine) FL_NOEXCEPT
 Destroy a HexWaveEngine and free its resources.
 
static void hexwave_generate_linesegs (hexvert vert[9], HexWave *hex, float dt) FL_NOEXCEPT
 
void hexwave_generate_samples (float *output, int32_t num_samples, HexWave *hex, float freq) FL_NOEXCEPT
 Generate audio samples.
 
void hexwave_init (int32_t width, int32_t oversample, float *user_buffer) FL_NOEXCEPT
 Initialize the hexwave library (DEPRECATED - use hexwave_engine_create)
 
void hexwave_shutdown (float *user_buffer) FL_NOEXCEPT
 Shutdown the hexwave library (DEPRECATED - use hexwave_engine_destroy)
 
void * malloc (size_t size)
 
void * memcpy (void *dest, const void *src, size_t n) FL_NOEXCEPT
 
void * memmove (void *dest, const void *src, size_t n) FL_NOEXCEPT
 
void * memset (void *s, int c, size_t n) FL_NOEXCEPT
 
template<typename T>
enable_if< is_fixed_point< T >::value, T >::type sin (T angle) FL_NOEXCEPT
 

Variables

static HexWaveEnginesGlobalEngine = nullptr