diff options
author | Davide Morelli <morellid@users.sourceforge.net> | 2005-12-28 11:47:19 +0000 |
---|---|---|
committer | Davide Morelli <morellid@users.sourceforge.net> | 2005-12-28 11:47:19 +0000 |
commit | c60dd588397da20d2867c8e48a32be6fcd8dfada (patch) | |
tree | 9d7192b9f548e5cef969a412da226f7cbc535dac /common.h | |
parent | 0928c7fa0e2b91005ac6c319650e9e13468903cd (diff) |
fixed rhythms recognition
svn path=/trunk/externals/frankenstein/; revision=4306
Diffstat (limited to 'common.h')
-rwxr-xr-x | common.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -77,8 +77,10 @@ struct t_rhythm_memory_arc } ;
// it will be arranged in a heap list.. ?
-#define num_possible_denominators 11
-static unsigned short int possible_denominators[] = {1,2,3,4,6,8,12,16,18,24,32};
+//#define num_possible_denominators 11
+//static unsigned short int possible_denominators[] = {1,2,3,4,6,8,12,16,18,24,32};
+#define num_possible_denominators 7
+static unsigned short int possible_denominators[] = {1,2,3,4,6,8,12};
// the minimum percentage for a beat to be considered part of the main rhythm
#define min_to_be_main_rhythm_beat 0.7
|