diff layer/SpectrumLayer.h @ 265:a3a54632cd4c

* fixes to spectrum harmonic cursor etc
author Chris Cannam
date Fri, 15 Jun 2007 15:48:11 +0000
parents 6d113226bb4c
children 4ed1446ad604
line wrap: on
line diff
--- a/layer/SpectrumLayer.h	Fri Jun 15 12:55:16 2007 +0000
+++ b/layer/SpectrumLayer.h	Fri Jun 15 15:48:11 2007 +0000
@@ -100,6 +100,9 @@
     virtual void getBiasCurve(BiasCurve &) const;
     BiasCurve m_biasCurve;
 
+    virtual float getXForBin(int bin, int totalBins, float w) const;
+    virtual int getBinForX(float x, int totalBins, float w) const;
+
     float getFrequencyForX(float x, float w) const;
     float getXForFrequency(float freq, float w) const;