Mercurial > hg > vamp-tempogram
view WindowFunction.h @ 8:4e429b9f2b4d
* Fixed memory leak bug. Issue with calculating size of spectrogram array.
* Fixed bug in Tempogram::reset() where specData wasn't reinitialised.
author | Carl Bussey <c.bussey@se10.qmul.ac.uk> |
---|---|
date | Thu, 07 Aug 2014 17:25:24 +0100 |
parents | 21147df9cb2d |
children | 7680cc4c0073 |
line wrap: on
line source
// // WindowFunction.h // Tempogram // // Created by Carl Bussey on 26/06/2014. // Copyright (c) 2014 Carl Bussey. All rights reserved. // #ifndef __Tempogram__WindowFunction__ #define __Tempogram__WindowFunction__ #include <iostream> #include <cmath> #include <vector> class WindowFunction{ public: static void hanning(float *signal, const unsigned int N, const bool normalise = false); }; #endif /* defined(__Tempogram__WindowFunction__) */