Mercurial > hg > constant-q-cpp
diff cq/CQInverse.h @ 145:ff8ae033615f
No reason getBinFrequency shouldn't work for non-integer bin numbers too
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 22 May 2014 16:58:59 +0100 |
parents | 8996465e39fc |
children | 1060a19e2334 |
line wrap: on
line diff
--- a/cq/CQInverse.h Tue May 20 12:38:13 2014 +0100 +++ b/cq/CQInverse.h Thu May 22 16:58:59 2014 +0100 @@ -52,7 +52,7 @@ virtual int getLatency() const { return m_outputLatency; } virtual double getMaxFrequency() const { return m_p.maxFrequency; } virtual double getMinFrequency() const; // actual min, not that passed to ctor - virtual double getBinFrequency(int bin) const; + virtual double getBinFrequency(double bin) const; // Input is the format produced by ConstantQ class, // i.e. uninterpolated complex, not the real-valued stuff produced