Mercurial > hg > vamp-tempogram
comparison WindowFunction.h @ 13:7680cc4c0073
* Tidying - made length of array variables type size_t and for loops unsigned int, where index > 0.
* Window length parameter is now a dropdown box.
author | Carl Bussey <c.bussey@se10.qmul.ac.uk> |
---|---|
date | Wed, 13 Aug 2014 14:18:00 +0100 |
parents | 21147df9cb2d |
children | 4cf2d163127b |
comparison
equal
deleted
inserted
replaced
12:d58409ecd720 | 13:7680cc4c0073 |
---|---|
13 #include <cmath> | 13 #include <cmath> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 class WindowFunction{ | 16 class WindowFunction{ |
17 public: | 17 public: |
18 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); |
19 }; | 19 }; |
20 | 20 |
21 #endif /* defined(__Tempogram__WindowFunction__) */ | 21 #endif /* defined(__Tempogram__WindowFunction__) */ |