Skip to content

Struct SYN_FilterEMA

ClassList > SYN_FilterEMA

Exponential moving average filter state.

  • #include <syn_filter.h>

Public Attributes

Type Name
uint8_t alpha
bool primed
int32_t value

Public Attributes Documentation

variable alpha

uint8_t SYN_FilterEMA::alpha;

Smoothing factor (0–255), higher = faster


variable primed

bool SYN_FilterEMA::primed;

Has received at least one sample


variable value

int32_t SYN_FilterEMA::value;

Current filtered value (Q8 fixed-point)



The documentation for this class was generated from the following file src/syntropic/dsp/syn_filter.h