Mercurial > hg > vamp-tempogram
comparison FIRFilter.h @ 9:be59b4a73f49
* Added Spectrogram zero padding functionality
* Made output bins correspond to BPM
* User can now specify a range of output bins to view
* Comments added
author | Carl Bussey <c.bussey@se10.qmul.ac.uk> |
---|---|
date | Tue, 12 Aug 2014 14:40:37 +0100 |
parents | 4e429b9f2b4d |
children | 7680cc4c0073 |
comparison
equal
deleted
inserted
replaced
8:4e429b9f2b4d | 9:be59b4a73f49 |
---|---|
10 #define __Tempogram__FIRFilter__ | 10 #define __Tempogram__FIRFilter__ |
11 | 11 |
12 #include <cmath> | 12 #include <cmath> |
13 #include <vamp-sdk/FFT.h> | 13 #include <vamp-sdk/FFT.h> |
14 #include <assert.h> | 14 #include <assert.h> |
15 #include <iostream> | |
16 | 15 |
17 class FIRFilter{ | 16 class FIRFilter{ |
18 public: | 17 public: |
19 FIRFilter(const unsigned int lengthInput, const unsigned int numberOfCoefficients); | 18 FIRFilter(const unsigned int lengthInput, const unsigned int numberOfCoefficients); |
20 ~FIRFilter(); | 19 ~FIRFilter(); |