FastLED 3.9.15
Loading...
Searching...
No Matches
Waveform Beat Generators

Detailed Description

Functions

LIB8STATIC u16 fl::beat16 (accum88 beats_per_minute, u32 timebase=0) FL_NOEXCEPT
 Generates a 16-bit "sawtooth" wave at a given BPM.
 
LIB8STATIC u8 fl::beat8 (accum88 beats_per_minute, u32 timebase=0) FL_NOEXCEPT
 Generates an 8-bit "sawtooth" wave at a given BPM.
 
LIB8STATIC u16 fl::beat88 (accum88 beats_per_minute_88, u32 timebase=0) FL_NOEXCEPT
 Generates a 16-bit "sawtooth" wave at a given BPM, with BPM specified in Q8.8 fixed-point format.
 
LIB8STATIC u16 fl::beatsin16 (accum88 beats_per_minute, u16 lowest=0, u16 highest=65535, u32 timebase=0, u16 phase_offset=0) FL_NOEXCEPT
 Generates a 16-bit sine wave at a given BPM that oscillates within a given range.
 
LIB8STATIC u8 fl::beatsin8 (accum88 beats_per_minute, u8 lowest=0, u8 highest=255, u32 timebase=0, u8 phase_offset=0) FL_NOEXCEPT
 Generates an 8-bit sine wave at a given BPM that oscillates within a given range.
 
LIB8STATIC u16 fl::beatsin88 (accum88 beats_per_minute_88, u16 lowest=0, u16 highest=65535, u32 timebase=0, u16 phase_offset=0) FL_NOEXCEPT
 Generates a 16-bit sine wave at a given BPM that oscillates within a given range.