BeatSpectrum Class Reference

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

BeatSpectrum::BeatSpectrum ( )
inline

Definition at line 31 of file BeatSpectrum.h.

BeatSpectrum::~BeatSpectrum ( )
inline

Definition at line 32 of file BeatSpectrum.h.

References process().

Member Function Documentation

vector< double > BeatSpectrum::process ( const std::vector< std::vector< double > > &  inmatrix)

Definition at line 22 of file BeatSpectrum.cpp.

References CosineDistance::distance().

Referenced by ~BeatSpectrum().


The documentation for this class was generated from the following files: