Loading...
Searching...
No Matches
avnd_tools::btrk::tempo_estimator Struct Reference

Public Member Functions

void configure (double frames_per_second, double min_bpm, double max_bpm)
 
void reset_context ()
 
void seed (double period_frames)
 
bool push (double detrended_odf)
 
void estimate ()
 
double prior (int lag) const
 

Public Attributes

double fps {200.}
 
int min_lag {75}
 
int max_lag {150}
 
std::vector< double > window
 
int head {}
 
int filled {}
 
int since_update {}
 
std::vector< double > scratch
 
std::vector< double > acf
 
std::vector< double > comb
 
std::vector< double > comb_raw
 
double history [3] {}
 
int history_n {}
 
bool context_locked {}
 
double context_period {}
 
int context_disagreements {}
 
double period {0.}
 
double confidence {0.}
 

Static Public Attributes

static constexpr int window_size = 1024
 
static constexpr int update_interval = 128
 

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