changeset 36:1026fb35b26d

introduced horizongal note editing constraints; debugged note edit
author matthiasm
date Mon, 17 Jun 2013 18:00:24 +0100
parents 52d8ad307690
children 7acca76f06ec
files .hgsubstate src/Analyser.cpp
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Sun Jun 16 20:40:05 2013 +0100
+++ b/.hgsubstate	Mon Jun 17 18:00:24 2013 +0100
@@ -1,3 +1,3 @@
 cba1e2a3d14bdaa7ca167d8c1ff9727359a560d3 svapp
-3739234354722f1515dfe3e20f810b8cdb7ede01 svcore
-2ad082c5a090b65c517ee835f0a50089c969c3aa svgui
+cccf6069a9fc4a55c6c7d3bf2ab429ed6c7ed2e8 svcore
+76c5dfe333ee3a5f4ac908176d5132614185b46c svgui
--- a/src/Analyser.cpp	Sun Jun 16 20:40:05 2013 +0100
+++ b/src/Analyser.cpp	Mon Jun 17 18:00:24 2013 +0100
@@ -48,11 +48,11 @@
     m_fileModel = model;
     m_pane = pane;
 
-    // TransformId f0 = "vamp:yintony:yintony:notepitchtrack";
-    // TransformId notes = "vamp:yintony:yintony:notes";
+    TransformId f0 = "vamp:yintony:yintony:notepitchtrack";
+    TransformId notes = "vamp:yintony:yintony:notes";
 
-    TransformId f0 = "vamp:cepstral-pitchtracker:cepstral-pitchtracker:f0";
-    TransformId notes = "vamp:cepstral-pitchtracker:cepstral-pitchtracker:notes";
+    // TransformId f0 = "vamp:cepstral-pitchtracker:cepstral-pitchtracker:f0";
+    // TransformId notes = "vamp:cepstral-pitchtracker:cepstral-pitchtracker:notes";
 
     // We don't want a waveform in the main pane. We must have a
     // main-model layer of some sort, but the layers created by
@@ -72,9 +72,9 @@
 	if (tvl) {
 	    tvl->setPlotStyle(TimeValueLayer::PlotPoints);
 	    tvl->setBaseColour(ColourDatabase::getInstance()->
-			       getColourIndex(QString("Bright Blue")));
+			       getColourIndex(QString("Black")));
 			tvl->setVerticalScale(TimeValueLayer::LogScale);
-			tvl->setDisplayExtents(80.f,450.f); // temporary values: better get the real extents of the data form the model
+			tvl->setDisplayExtents(80.f,600.f); // temporary values: better get the real extents of the data form the model
 	}
     }