Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::audio::FreqEstimatorConfig Struct Reference

FreqEstimator tunable parameters. More...

#include <freq_estimator.h>

Public Attributes

double P
 Proportional gain of PI-controller. More...
 
double I
 Integral gain of PI-controller. More...
 
size_t decimation_factor1
 How much downsample input value (latency buffer size) on the first stage. Must be less or equal to fe_decim_factor_max and must be greater than zero. More...
 
size_t decimation_factor2
 How much downsample input value on the second stage. Must be less or equal to fe_decim_factor_max. Could be zero to disable the second decimation stage. More...
 

Detailed Description

FreqEstimator tunable parameters.

Definition at line 35 of file freq_estimator.h.

Member Data Documentation

◆ decimation_factor1

size_t roc::audio::FreqEstimatorConfig::decimation_factor1

How much downsample input value (latency buffer size) on the first stage. Must be less or equal to fe_decim_factor_max and must be greater than zero.

Definition at line 41 of file freq_estimator.h.

◆ decimation_factor2

size_t roc::audio::FreqEstimatorConfig::decimation_factor2

How much downsample input value on the second stage. Must be less or equal to fe_decim_factor_max. Could be zero to disable the second decimation stage.

Definition at line 45 of file freq_estimator.h.

◆ I

double roc::audio::FreqEstimatorConfig::I

Integral gain of PI-controller.

Definition at line 37 of file freq_estimator.h.

◆ P

double roc::audio::FreqEstimatorConfig::P

Proportional gain of PI-controller.

Definition at line 36 of file freq_estimator.h.


The documentation for this struct was generated from the following file: