qm-dsp
1.8
|
DownBeat.h
Go to the documentation of this file.
void getBeatSD(std::vector< double > &beatsd) const
Return the beat spectral difference function.
Definition: DownBeat.cpp:293
void findDownBeats(const float *audio, size_t audioLength, const std::vector< double > &beats, std::vector< int > &downbeats)
Estimate which beats are down-beats.
Definition: DownBeat.cpp:138
void pushAudioBlock(const float *audio)
For your downsampling convenience: call this function repeatedly with input audio blocks containing d...
Definition: DownBeat.cpp:91
DownBeat(float originalSampleRate, size_t decimationFactor, size_t dfIncrement)
Construct a downbeat locator that will operate on audio at the downsampled by the given decimation fa...
Definition: DownBeat.cpp:28
const float * getBufferedAudio(size_t &length) const
Retrieve the accumulated audio produced by pushAudioBlock calls.
Definition: DownBeat.cpp:120
This class takes an input audio signal and a sequence of beat locations (calculated e...
Definition: DownBeat.h:36
Decimator carries out a fast downsample by a power-of-two factor.
Definition: Decimator.h:24
double measureSpecDiff(d_vec_t oldspec, d_vec_t newspec)
Definition: DownBeat.cpp:245
Generated by 1.8.11