!! Question: how far is this actually sample rate dependent? I
More...
#include <TempoTrackV2.h>
|
| TempoTrackV2 (float sampleRate, size_t dfIncrement) |
|
| ~TempoTrackV2 () |
|
void | calculateBeatPeriod (const vector< double > &df, vector< double > &beatPeriod, vector< double > &tempi) |
|
void | calculateBeatPeriod (const vector< double > &df, vector< double > &beatPeriod, vector< double > &tempi, double inputtempo, bool constraintempo) |
|
void | calculateBeats (const vector< double > &df, const vector< double > &beatPeriod, vector< double > &beats) |
|
void | calculateBeats (const vector< double > &df, const vector< double > &beatPeriod, vector< double > &beats, double alpha, double tightness) |
|
|
typedef vector< int > | i_vec_t |
|
typedef vector< vector< int > > | i_mat_t |
|
typedef vector< double > | d_vec_t |
|
typedef vector< vector< double > > | d_mat_t |
|
!! Question: how far is this actually sample rate dependent? I
Definition at line 28 of file TempoTrackV2.h.
◆ d_mat_t
◆ d_vec_t
◆ i_mat_t
◆ i_vec_t
◆ TempoTrackV2()
TempoTrackV2::TempoTrackV2 |
( |
float |
sampleRate, |
|
|
size_t |
dfIncrement |
|
) |
| |
Construct a tempo tracker that will operate on beat detection function data calculated from audio at the given sample rate with the given frame increment.
Currently the sample rate and increment are used only for the conversion from beat frame location to bpm in the tempo array.
◆ ~TempoTrackV2()
TempoTrackV2::~TempoTrackV2 |
( |
| ) |
|
◆ adapt_thresh()
void TempoTrackV2::adapt_thresh |
( |
d_vec_t & |
df | ) |
|
|
private |
◆ calculateBeatPeriod() [1/2]
void TempoTrackV2::calculateBeatPeriod |
( |
const vector< double > & |
df, |
|
|
vector< double > & |
beatPeriod, |
|
|
vector< double > & |
tempi |
|
) |
| |
|
inline |
◆ calculateBeatPeriod() [2/2]
void TempoTrackV2::calculateBeatPeriod |
( |
const vector< double > & |
df, |
|
|
vector< double > & |
beatPeriod, |
|
|
vector< double > & |
tempi, |
|
|
double |
inputtempo, |
|
|
bool |
constraintempo |
|
) |
| |
◆ calculateBeats() [1/2]
void TempoTrackV2::calculateBeats |
( |
const vector< double > & |
df, |
|
|
const vector< double > & |
beatPeriod, |
|
|
vector< double > & |
beats |
|
) |
| |
|
inline |
◆ calculateBeats() [2/2]
void TempoTrackV2::calculateBeats |
( |
const vector< double > & |
df, |
|
|
const vector< double > & |
beatPeriod, |
|
|
vector< double > & |
beats, |
|
|
double |
alpha, |
|
|
double |
tightness |
|
) |
| |
◆ filter_df()
void TempoTrackV2::filter_df |
( |
d_vec_t & |
df | ) |
|
|
private |
◆ get_max_ind()
int TempoTrackV2::get_max_ind |
( |
const d_vec_t & |
df | ) |
|
|
private |
◆ get_max_val()
double TempoTrackV2::get_max_val |
( |
const d_vec_t & |
df | ) |
|
|
private |
◆ get_rcf()
◆ mean_array()
double TempoTrackV2::mean_array |
( |
const d_vec_t & |
dfin, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
|
private |
◆ normalise_vec()
void TempoTrackV2::normalise_vec |
( |
d_vec_t & |
df | ) |
|
|
private |
◆ viterbi_decode()
◆ m_increment
size_t TempoTrackV2::m_increment |
|
private |
◆ m_rate
float TempoTrackV2::m_rate |
|
private |
The documentation for this class was generated from the following file: