!! Question: how far is this actually sample rate dependent? I
More...
#include <TempoTrackV2.h>
|
| TempoTrackV2 (float sampleRate, int 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. More...
|
|
| ~TempoTrackV2 () |
|
void | calculateBeatPeriod (const std::vector< double > &df, std::vector< double > &beatPeriod, std::vector< double > &tempi) |
|
void | calculateBeatPeriod (const std::vector< double > &df, std::vector< double > &beatPeriod, std::vector< double > &tempi, double inputtempo, bool constraintempo) |
|
void | calculateBeats (const std::vector< double > &df, const std::vector< double > &beatPeriod, std::vector< double > &beats) |
|
void | calculateBeats (const std::vector< double > &df, const std::vector< double > &beatPeriod, std::vector< double > &beats, double alpha, double tightness) |
|
|
typedef std::vector< int > | i_vec_t |
|
typedef std::vector< std::vector< int > > | i_mat_t |
|
typedef std::vector< double > | d_vec_t |
|
typedef std::vector< std::vector< double > > | d_mat_t |
|
!! Question: how far is this actually sample rate dependent? I
Definition at line 26 of file TempoTrackV2.h.
TempoTrackV2::TempoTrackV2 |
( |
float |
sampleRate, |
|
|
int |
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.
Definition at line 28 of file TempoTrackV2.cpp.
TempoTrackV2::~TempoTrackV2 |
( |
| ) |
|
void TempoTrackV2::calculateBeatPeriod |
( |
const std::vector< double > & |
df, |
|
|
std::vector< double > & |
beatPeriod, |
|
|
std::vector< double > & |
tempi |
|
) |
| |
|
inline |
void TempoTrackV2::calculateBeatPeriod |
( |
const std::vector< double > & |
df, |
|
|
std::vector< double > & |
beatPeriod, |
|
|
std::vector< double > & |
tempi, |
|
|
double |
inputtempo, |
|
|
bool |
constraintempo |
|
) |
| |
void TempoTrackV2::calculateBeats |
( |
const std::vector< double > & |
df, |
|
|
const std::vector< double > & |
beatPeriod, |
|
|
std::vector< double > & |
beats |
|
) |
| |
|
inline |
void TempoTrackV2::calculateBeats |
( |
const std::vector< double > & |
df, |
|
|
const std::vector< double > & |
beatPeriod, |
|
|
std::vector< double > & |
beats, |
|
|
double |
alpha, |
|
|
double |
tightness |
|
) |
| |
void TempoTrackV2::adapt_thresh |
( |
d_vec_t & |
df | ) |
|
|
private |
double TempoTrackV2::mean_array |
( |
const d_vec_t & |
dfin, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
|
private |
void TempoTrackV2::filter_df |
( |
d_vec_t & |
df | ) |
|
|
private |
double TempoTrackV2::get_max_val |
( |
const d_vec_t & |
df | ) |
|
|
private |
int TempoTrackV2::get_max_ind |
( |
const d_vec_t & |
df | ) |
|
|
private |
void TempoTrackV2::normalise_vec |
( |
d_vec_t & |
df | ) |
|
|
private |
float TempoTrackV2::m_rate |
|
private |
int TempoTrackV2::m_increment |
|
private |
The documentation for this class was generated from the following files: