changeset 112:43b1ca9647e1

* Exceptions for file read etc
author Chris Cannam
date Wed, 28 Jun 2006 15:42:04 +0000
parents ab55c427e068
children 7a23edd831cb
files layer/SpectrogramLayer.cpp
diffstat 1 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Wed Jun 28 13:41:12 2006 +0000
+++ b/layer/SpectrogramLayer.cpp	Wed Jun 28 15:42:04 2006 +0000
@@ -56,7 +56,6 @@
     m_binDisplay(AllBins),
     m_normalizeColumns(false),
     m_fftServer(0),
-//    m_fftServerChanged(true),
     m_updateTimer(0),
     m_candidateFillStartFrame(0),
     m_lastFillExtent(0),
@@ -177,7 +176,7 @@
     if (name == "Colour Scale") return tr("Colour Scale");
     if (name == "Window Type") return tr("Window Type");
     if (name == "Window Size") return tr("Window Size");
-    if (name == "Window Increment") return tr("Window Increment");
+    if (name == "Window Increment") return tr("Window Overlap");
     if (name == "Normalize Columns") return tr("Normalize Columns");
     if (name == "Bin Display") return tr("Bin Display");
     if (name == "Threshold") return tr("Threshold");
@@ -403,12 +402,12 @@
     if (name == "Window Increment") {
 	switch (value) {
 	default:
-	case 0: return tr("1/1");
-	case 1: return tr("3/4");
-	case 2: return tr("1/2");
-	case 3: return tr("1/4");
-	case 4: return tr("1/8");
-	case 5: return tr("1/16");
+	case 0: return tr("None");
+	case 1: return tr("25 %");
+	case 2: return tr("50 %");
+	case 3: return tr("75 %");
+	case 4: return tr("87.5 %");
+	case 5: return tr("93.75 %");
 	}
     }
     if (name == "Zero Padding") {