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

Public Member Functions

void reset ()
 
bool push (double t, int div, double min_period, double max_period)
 

Public Attributes

ossia::median_filter< double, 5 > ioi
 
double last_event {-1.}
 
double period {0.}
 
double confidence {0.}
 
int count {}
 

Member Function Documentation

◆ push()

bool avnd_tools::btrk::event_estimator::push ( double  t,
int  div,
double  min_period,
double  max_period 
)
inline
Parameters
tabsolute event time, seconds
divevents per beat (1 = one message per beat, 24 = MIDI clock)
Returns
true once a usable period estimate exists

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