qm-dsp
1.8
|
Given a matrix of "feature values", calculate a self-similarity vector. More...
#include <BeatSpectrum.h>
Public Member Functions | |
BeatSpectrum () | |
~BeatSpectrum () | |
std::vector< double > | process (const std::vector< std::vector< double > > &inmatrix) |
Given a matrix of "feature values", calculate a self-similarity vector.
The resulting vector will have half as many elements as the number of columns in the matrix. This is based on the SoundBite rhythmic similarity code.
Definition at line 28 of file BeatSpectrum.h.
BeatSpectrum::BeatSpectrum | ( | ) | [inline] |
Definition at line 31 of file BeatSpectrum.h.
BeatSpectrum::~BeatSpectrum | ( | ) | [inline] |
Definition at line 32 of file BeatSpectrum.h.
vector< double > BeatSpectrum::process | ( | const std::vector< std::vector< double > > & | inmatrix | ) |
Definition at line 22 of file BeatSpectrum.cpp.
References CosineDistance::distance().