Struct SYN_FilterMA¶
Moving average filter state.
#include <syn_filter.h>
Public Attributes¶
| Type | Name |
|---|---|
| int16_t | buf |
| uint8_t | count |
| uint8_t | idx |
| int32_t | sum |
| uint8_t | window |
Public Attributes Documentation¶
variable buf¶
Sample buffer
variable count¶
Samples inserted so far
variable idx¶
Circular write index
variable sum¶
Running sum
variable window¶
Configured window size
The documentation for this class was generated from the following file src/syntropic/dsp/syn_filter.h