comparison WindowFunction.cpp @ 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 be59b4a73f49
comparison
equal deleted inserted replaced
6:14a143a2c4c9 7:21147df9cb2d
5 // Created by Carl Bussey on 26/06/2014. 5 // Created by Carl Bussey on 26/06/2014.
6 // Copyright (c) 2014 Carl Bussey. All rights reserved. 6 // Copyright (c) 2014 Carl Bussey. All rights reserved.
7 // 7 //
8 8
9 #include "WindowFunction.h" 9 #include "WindowFunction.h"
10 #include <cmath>
11 #include <vector>
12 #include <iostream>
13 using std::vector; 10 using std::vector;
14 11
15 void 12 void
16 WindowFunction::hanning(float *signal, const unsigned int N, const bool normalise){ 13 WindowFunction::hanning(float *signal, const unsigned int N, const bool normalise){
17 14