c@256: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ c@256: c@256: /* c@256: QM DSP Library c@256: c@256: Centre for Digital Music, Queen Mary, University of London. c@256: This file copyright 2008 Kurt Jacobson and QMUL. c@256: All rights reserved. c@256: */ c@256: c@256: #ifndef BEATSPECTRUM_H c@256: #define BEATSPECTRUM_H c@256: c@256: #include c@256: c@256: /** c@256: * Given a matrix of "feature values", calculate a self-similarity c@256: * vector. The resulting vector will have half as many elements as c@256: * the number of columns in the matrix. This is based on the c@256: * SoundBite rhythmic similarity code. c@256: */ c@256: c@256: class BeatSpectrum c@256: { c@256: public: c@257: BeatSpectrum() { } c@257: ~BeatSpectrum() { } c@256: c@256: std::vector process(const std::vector > &inmatrix); c@256: c@256: }; c@256: c@256: #endif c@256: c@256: