diff Syncopation models/parameter_setter.py @ 20:b959c2acb927

Refactored all models except for KTH, all past testing except for SG.
author csong <csong@eecs.qmul.ac.uk>
date Tue, 07 Apr 2015 19:05:07 +0100
parents 9030967a05f8
children 5de1cb45c145
line wrap: on
line diff
--- a/Syncopation models/parameter_setter.py	Fri Apr 03 22:57:27 2015 +0100
+++ b/Syncopation models/parameter_setter.py	Tue Apr 07 19:05:07 2015 +0100
@@ -8,19 +8,19 @@
 # {'key': time-signature} :  
 # {'value': [subdivision_seq, theoretical beat-level represented by index in the subdivision_seq list]}
 timeSignatureBase = {
-	'2/2': [[1,2,2,2,2],1],
-	'3/2': [[1,3,2,2,2],1],
-	'4/2': [[1,2,2,2,2],1],
-	'2/4': [[1,2,2,2,2],1],
-	'3/4': [[1,3,2,2,2],1],
-	'4/4': [[1,2,2,2,2],2],
-	'5/4': [[1,5,2,2,2],1],
-	'7/4': [[1,7,2,2,2],1],
-	'3/8': [[1,3,2,2,2],1],
-	'5/8': [[1,5,2,2,2],1],
-	'6/8': [[1,2,3,2,2],1],
-	'9/8': [[1,3,3,2,2],1],
-	'12/8':[[1,2,2,3,2],2],	
+	'2/2': [[1,2,2,2,2,2],1],
+	'3/2': [[1,3,2,2,2,2],1],
+	'4/2': [[1,2,2,2,2,2],1],
+	'2/4': [[1,2,2,2,2,2],1],
+	'3/4': [[1,3,2,2,2,2],1],
+	'4/4': [[1,2,2,2,2,2],2],
+	'5/4': [[1,5,2,2,2,2],1],
+	'7/4': [[1,7,2,2,2,2],1],
+	'3/8': [[1,3,2,2,2,2],1],
+	'5/8': [[1,5,2,2,2,2],1],
+	'6/8': [[1,2,3,2,2,2],1],
+	'9/8': [[1,3,3,2,2,2],1],
+	'12/8':[[1,2,2,3,2,2],2],	
 }
 
 def add_time_signature(timeSignature, subdivisionSequence, beatLevel):