changeset 791:373923435472 tonioni

different colours, some minor changes, mainly debugging cerrs
author matthiasm
date Fri, 19 Apr 2013 15:37:27 +0100
parents 2fa49f5caac5
children cccf6069a9fc
files data/model/FlexiNoteModel.h plugin/DSSIPluginInstance.cpp
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/model/FlexiNoteModel.h	Sat Apr 13 20:03:40 2013 +0100
+++ b/data/model/FlexiNoteModel.h	Fri Apr 19 15:37:27 2013 +0100
@@ -126,6 +126,8 @@
 
     float getValueQuantization() const { return m_valueQuantization; }
     void setValueQuantization(float q) { m_valueQuantization = q; }
+    float getValueMinimum() const { return 33; }
+    float getValueMaximum() const { return 88; }
 
     QString getTypeName() const { return tr("FlexiNote"); }
 
@@ -138,7 +140,7 @@
 
     virtual QString getDefaultPlayPluginConfiguration() const
     {
-        return "<plugin program=\"piano\"/>";
+        return "<plugin program=\"organ\"/>";
     }
 
     virtual void toXml(QTextStream &out,
--- a/plugin/DSSIPluginInstance.cpp	Sat Apr 13 20:03:40 2013 +0100
+++ b/plugin/DSSIPluginInstance.cpp	Fri Apr 19 15:37:27 2013 +0100
@@ -34,7 +34,7 @@
 #endif
 
 //#define DEBUG_DSSI 1
-//#define DEBUG_DSSI_PROCESS 1
+#define DEBUG_DSSI_PROCESS 1
 
 #define EVENT_BUFFER_SIZE 1023