Mercurial > hg > vamp-tempogram
comparison WindowFunction.h @ 7:21147df9cb2d
* Error when deleting Spectrogram object in Tempogram::getRemainingFeatures().
* Moved Spectrogram computation into own class.
author | Carl Bussey <c.bussey@se10.qmul.ac.uk> |
---|---|
date | Thu, 07 Aug 2014 16:21:21 +0100 |
parents | 31d2a7e07786 |
children | 7680cc4c0073 |
comparison
equal
deleted
inserted
replaced
6:14a143a2c4c9 | 7:21147df9cb2d |
---|---|
8 | 8 |
9 #ifndef __Tempogram__WindowFunction__ | 9 #ifndef __Tempogram__WindowFunction__ |
10 #define __Tempogram__WindowFunction__ | 10 #define __Tempogram__WindowFunction__ |
11 | 11 |
12 #include <iostream> | 12 #include <iostream> |
13 #include <cmath> | |
14 #include <vector> | |
13 | 15 |
14 class WindowFunction{ | 16 class WindowFunction{ |
15 public: | 17 public: |
16 static void hanning(float *signal, const unsigned int N, const bool normalise = false); | 18 static void hanning(float *signal, const unsigned int N, const bool normalise = false); |
17 }; | 19 }; |