Tempo Tapper
1.0.0
A simple library to implement a tempo tapper
|
Go to the documentation of this file.
39 tempo_tapper_cpp::~tempo_tapper_cpp()
C++ wrapper for the tempo tapper library.
void tt_tap(tempo_tapper *tapper)
"Taps" the tempo tapper
BPM_t bpm()
Wraps around tt_bpm()
void reset()
Wraps around tt_reset()
bool is_init()
Returns if class has been (successfully) initialized.
void tap()
Wraps around tt_tap()
void tt_reset(tempo_tapper *tapper)
Resets the tempo tapper.
tempo_tapper_cpp()
Wraps around tt_new()
tempo_tapper * tt_new()
Creates a new tempo tapper instance.
unsigned long period_us()
Wraps around tt_period_us()
BPM_t tt_bpm(tempo_tapper *tapper)
Returns the tempo in BPM.
unsigned long tt_period_us(tempo_tapper *tapper)
Returns the period of a tempo in microseconds.