comparison Tuning.cpp @ 76:d398e73b46e0 matthiasm-plugin

it's broken at the moment, work in progress (makeing bins per semitone variable, ie not necessarily 3)
author Matthias Mauch <mail@matthiasmauch.net>
date Wed, 10 Nov 2010 22:52:46 +0900
parents b8ffc98eda95
children 026a5c0ee2c2
comparison
equal deleted inserted replaced
75:ec5b599fbabc 76:d398e73b46e0
25 #include <cmath> 25 #include <cmath>
26 26
27 #include <algorithm> 27 #include <algorithm>
28 28
29 const bool debug_on = false; 29 const bool debug_on = false;
30
31 const vector<float> hw(hammingwind, hammingwind+19);
32 30
33 Tuning::Tuning(float inputSampleRate) : 31 Tuning::Tuning(float inputSampleRate) :
34 NNLSBase(inputSampleRate) 32 NNLSBase(inputSampleRate)
35 { 33 {
36 if (debug_on) cerr << "--> Tuning" << endl; 34 if (debug_on) cerr << "--> Tuning" << endl;