FastLED 3.9.15
Loading...
Searching...
No Matches
stb_hexwave.cpp.hpp File Reference
+ Include dependency graph for stb_hexwave.cpp.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::third_party::hexwave::hexvert
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::third_party
 
namespace  fl::third_party::hexwave
 

Macros

#define hexwave_clamp(v, a, b)
 

Functions

template<typename T>
enable_if< is_fixed_point< T >::value, T >::type fl::third_party::hexwave::cos (T angle) FL_NOEXCEPT
 
double fl::third_party::hexwave::fabs (double value) FL_NOEXCEPT
 
void fl::third_party::hexwave::free (void *ptr)
 
static void fl::third_party::hexwave::hex_add_oversampled_bleplike (float *output, float time_since_transition, float scale, float *data, HexWaveEngine *engine) FL_NOEXCEPT
 
static void fl::third_party::hexwave::hex_blamp (float *output, float time_since_transition, float scale, HexWaveEngine *engine) FL_NOEXCEPT
 
static void fl::third_party::hexwave::hex_blep (float *output, float time_since_transition, float scale, HexWaveEngine *engine) FL_NOEXCEPT
 
void fl::third_party::hexwave::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 fl::third_party::hexwave::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 fl::third_party::hexwave::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)
 
HexWaveEnginefl::third_party::hexwave::hexwave_engine_create (int32_t width, int32_t oversample, float *user_buffer) FL_NOEXCEPT
 Create and initialize a new HexWaveEngine.
 
void fl::third_party::hexwave::hexwave_engine_destroy (HexWaveEngine *engine) FL_NOEXCEPT
 Destroy a HexWaveEngine and free its resources.
 
static void fl::third_party::hexwave::hexwave_generate_linesegs (hexvert vert[9], HexWave *hex, float dt) FL_NOEXCEPT
 
void fl::third_party::hexwave::hexwave_generate_samples (float *output, int32_t num_samples, HexWave *hex, float freq) FL_NOEXCEPT
 Generate audio samples.
 
void fl::third_party::hexwave::hexwave_init (int32_t width, int32_t oversample, float *user_buffer) FL_NOEXCEPT
 Initialize the hexwave library (DEPRECATED - use hexwave_engine_create)
 
void fl::third_party::hexwave::hexwave_shutdown (float *user_buffer) FL_NOEXCEPT
 Shutdown the hexwave library (DEPRECATED - use hexwave_engine_destroy)
 
void * fl::third_party::hexwave::malloc (size_t size)
 
void * fl::third_party::hexwave::memcpy (void *dest, const void *src, size_t n) FL_NOEXCEPT
 
void * fl::third_party::hexwave::memmove (void *dest, const void *src, size_t n) FL_NOEXCEPT
 
void * fl::third_party::hexwave::memset (void *s, int c, size_t n) FL_NOEXCEPT
 
template<typename T>
enable_if< is_fixed_point< T >::value, T >::type fl::third_party::hexwave::sin (T angle) FL_NOEXCEPT
 

Variables

static HexWaveEnginefl::third_party::hexwave::sGlobalEngine = nullptr
 

Class Documentation

◆ fl::third_party::hexwave::hexvert

struct fl::third_party::hexwave::hexvert
Class Members
float s
float t
float v