changeset 422:0a12d7e79b74

added functionless new items to analysis menu (for pyin parameter); needs more work
author matthiasm
date Wed, 25 Mar 2015 14:08:54 +0000
parents abf3af4fc20b
children bbe7ba53030e
files src/Analyser.cpp src/MainWindow.cpp
diffstat 2 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/Analyser.cpp	Wed Mar 25 12:22:16 2015 +0000
+++ b/src/Analyser.cpp	Wed Mar 25 14:08:54 2015 +0000
@@ -374,7 +374,7 @@
 
     if (lowamp) {
         cerr << "setting parameters for lowamp suppression" << endl;
-        t.setParameter("lowampsuppression", 0.1f);
+        t.setParameter("lowampsuppression", 0.2f);
     } else {
         cerr << "setting parameters for no lowamp suppression" << endl;
         t.setParameter("lowampsuppression", 0.0f);
--- a/src/MainWindow.cpp	Wed Mar 25 12:22:16 2015 +0000
+++ b/src/MainWindow.cpp	Wed Mar 25 14:08:54 2015 +0000
@@ -781,6 +781,20 @@
     connect(action, SIGNAL(triggered()), this, SLOT(lowampAnalysisToggled()));
     menu->addAction(action);
 
+    action = new QAction(tr("&Amplitude-based Note Separation"), this);
+    action->setStatusTip(tr("Increase likelihood of separating notes, especially consecutive notes at the same pitch."));
+    action->setCheckable(true);
+    action->setChecked(false);
+    // connect(action, SIGNAL(triggered()), this, SLOT(lowampAnalysisToggled()));
+    menu->addAction(action);
+
+    action = new QAction(tr("&Drop Short Notes"), this);
+    action->setStatusTip(tr("Duration-based pruning: automatic note estimator will not output notes of less than 100ms duration."));
+    action->setCheckable(true);
+    action->setChecked(true);
+    // connect(action, SIGNAL(triggered()), this, SLOT(lowampAnalysisToggled()));
+    menu->addAction(action);
+
     menu->addSeparator();
 
     action = new QAction(tr("Reset Options to Defaults"), this);