Loading...
Searching...
No Matches

Public Member Functions

void reset ()
 
void seed (double next_beat_time, double period, bool keep_rate=false)
 
void observe (double tb, double now)
 
template<typename F >
void advance (double now, F &&on_beat)
 
double phase (double t) const
 
double tempo () const
 

Public Attributes

double t0 {}
 
double t1 {}
 
double e2 {0.5}
 
double z3 {}
 
double bw {1.0}
 
int order {2}
 
bool inited {}
 
int64_t beat_index {-1}
 
ossia::one_pole_filter< double > pf1 {}
 
ossia::one_pole_filter< double > pf2 {}
 
double innovation_rms {}
 

Static Public Attributes

static constexpr double min_period = 60. / absolute_max_bpm
 
static constexpr double max_period = 60. / absolute_min_bpm
 

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