diff chromamethods.cpp @ 41:d6bb9b43ac1c matthiasm-plugin

README and new parameters, not tested yet
author Matthias Mauch <mail@matthiasmauch.net>
date Fri, 22 Oct 2010 21:43:57 +0900
parents cf8898a0174c
children 109d3b2c7105
line wrap: on
line diff
--- a/chromamethods.cpp	Fri Oct 22 11:58:16 2010 +0100
+++ b/chromamethods.cpp	Fri Oct 22 21:43:57 2010 +0900
@@ -170,11 +170,11 @@
     return true;	
 }
 
-void dictionaryMatrix(float* dm) {
+void dictionaryMatrix(float* dm, float s_param) {
     int binspersemitone = 3; // this must be 3
     int minoctave = 0; // this must be 0
     int maxoctave = 7; // this must be 7
-    float s_param = 0.7;
+    // float s_param = 0.7;
 	
     // pitch-spaced frequency vector
     int minMIDI = 21 + minoctave * 12 - 1; // this includes one additional semitone!