diff Syncopation models/TMC.py @ 33:f5abd2e8cafe

update models
author csong
date Sun, 12 Apr 2015 23:51:05 +0100
parents 5de1cb45c145
children
line wrap: on
line diff
--- a/Syncopation models/TMC.py	Sun Apr 12 23:23:32 2015 +0100
+++ b/Syncopation models/TMC.py	Sun Apr 12 23:51:05 2015 +0100
@@ -76,11 +76,10 @@
 				#? generate the metrical weights of the lowest level, 
 				#? using the last matching_level number of elements in the weightSequence, to make sure the last element is 1
 				H = get_H (weightSequence[-(L+1):], subdivisionSequence, L)
-				
 				metricity = get_metricity(binarySequence, H)	# converting to binary sequence then calculate metricity
 				maxMetricity = get_max_metricity(binarySequence, H)
 
 				syncopation = maxMetricity - metricity
-
+				
 	return syncopation