diff Syncopation models/basic_functions.py @ 10:a3ed7d2b57d8

updating main py files to point at new file names
author christopherh <christopher.harte@eecs.qmul.ac.uk>
date Fri, 03 Apr 2015 16:02:10 +0100
parents c2843ef4de2c
children 7d94ba423c04
line wrap: on
line diff
--- a/Syncopation models/basic_functions.py	Fri Apr 03 11:41:01 2015 +0100
+++ b/Syncopation models/basic_functions.py	Fri Apr 03 16:02:10 2015 +0100
@@ -150,6 +150,8 @@
 			break
 	return rhythm_category
 
+def string_to_sequence(inputString):
+	return map(int,inputString.split(','))
 
  # The split_by_bar function seperates the score representation of rhythm by bar lines, 
  # resulting in a list representingbar-by-bar rhythm sequence,