diff src/Instruments.h @ 183:59e3cca75b8d

Add some further parameters to the instrument pack
author Chris Cannam
date Fri, 23 May 2014 18:17:59 +0100
parents 6003a9af43af
children 5bde003a43a9
line wrap: on
line diff
--- a/src/Instruments.h	Thu May 22 15:06:37 2014 +0100
+++ b/src/Instruments.h	Fri May 23 18:17:59 2014 +0100
@@ -39,6 +39,11 @@
 
     int lowestNote;
     int highestNote;
+
+    int maxPolyphony; // realistic practical limit, not a theoretical one
+    float pitchSparsity;
+    float levelThreshold;
+
     std::string name;
 
     struct Templates {
@@ -57,6 +62,9 @@
 		   std::vector<Templates> tt) :
 	lowestNote(lowest),
 	highestNote(highest),
+        maxPolyphony(5),
+        pitchSparsity(1.1),
+        levelThreshold(5),
 	name(n),
 	templates(tt) { }
 };