Mercurial > hg > vamp-tempogram
comparison SpectrogramProcessor.h @ 25:fe23998968b4
* Added tempogram via autocorrelation feature, using AutocorrelationProcessor
* Moved calculateMax() from NoveltyCurveProcessor to SpectrogramProcessor
author | Carl Bussey <c.bussey@se10.qmul.ac.uk> |
---|---|
date | Wed, 20 Aug 2014 16:00:37 +0100 |
parents | de7213b35755 |
children | f795b84c1ff2 |
comparison
equal
deleted
inserted
replaced
24:957b83524c06 | 25:fe23998968b4 |
---|---|
29 void cleanup(); | 29 void cleanup(); |
30 public: | 30 public: |
31 SpectrogramProcessor(const size_t &windowLength, const size_t &fftLength, const size_t &hopSize); | 31 SpectrogramProcessor(const size_t &windowLength, const size_t &fftLength, const size_t &hopSize); |
32 ~SpectrogramProcessor(); | 32 ~SpectrogramProcessor(); |
33 | 33 |
34 Spectrogram process(const float * const pInput, const size_t &inputLength, const float * pWindow, const bool &transposeOutput = false) const; | 34 Spectrogram process(const float * const pInput, const size_t &inputLength, const float * pWindow) const; |
35 static SpectrogramTransposed transpose(const Spectrogram &spectrogram); | 35 static SpectrogramTransposed transpose(const Spectrogram &spectrogram); |
36 static float calculateMax(const Spectrogram &spectrogram); | |
36 }; | 37 }; |
37 | 38 |
38 #endif /* defined(__Tempogram__Spectrogram__) */ | 39 #endif /* defined(__Tempogram__Spectrogram__) */ |