From c60dd588397da20d2867c8e48a32be6fcd8dfada Mon Sep 17 00:00:00 2001 From: Davide Morelli Date: Wed, 28 Dec 2005 11:47:19 +0000 Subject: fixed rhythms recognition svn path=/trunk/externals/frankenstein/; revision=4306 --- common.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'common.h') diff --git a/common.h b/common.h index cbf3744..fae18f4 100755 --- a/common.h +++ b/common.h @@ -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 -- cgit v1.2.1