|
Wave Arts VQE
1.00
Voice Quality Enhancement
|
Averager runtime structure. More...
#include <dre.h>
Public Attributes | |
| float * | buf |
| circular buffer of values | |
| float | sum |
| current sum of values | |
| int | count |
| count of values, 0...len-1 | |
| int | index |
| circular index into buf | |
| int | length |
| length of buf | |
Averager runtime structure.
The averager keeps a circular buffer of recent values along with a sum of values in the buffer. When a new value is added the oldest value is discarded and subtracted from the sum. Hence it is an efficient way to keep a running average over a fixed time window.
1.7.5.1