diff layer/SpectrogramLayer.h @ 42:1bdf285c4eac

* Add "Export Audio File" option * Make note layer align in frequency with any spectrogram layer on the same view (if it's set to frequency mode) * Start to implement mouse editing for ranges of points by dragging the selection * First scrappy attempt at a vertical scale for time value layer
author Chris Cannam
date Mon, 27 Feb 2006 17:34:41 +0000
parents f2c416cbdaa9
children ad214997dddb
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Fri Feb 24 17:26:11 2006 +0000
+++ b/layer/SpectrogramLayer.h	Mon Feb 27 17:34:41 2006 +0000
@@ -169,6 +169,9 @@
 
     virtual bool isLayerOpaque() const { return true; }
 
+    float getYForFrequency(float frequency) const;
+    float getFrequencyForY(int y) const;
+
     virtual int getCompletion() const;
 
     virtual QString toXmlString(QString indent = "",