Mercurial > hg > syncopation-dataset
comparison Syncopation models/rhythm_parser.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 | b959c2acb927 |
comparison
equal
deleted
inserted
replaced
9:c2843ef4de2c | 10:a3ed7d2b57d8 |
---|---|
4 ''' | 4 ''' |
5 | 5 |
6 # Parse the rhythm file and return a list of Bar objects | 6 # Parse the rhythm file and return a list of Bar objects |
7 Piece = [] | 7 Piece = [] |
8 | 8 |
9 from ParameterSetter import timesigBase | 9 from parameter_setter import timesigBase |
10 | 10 |
11 | 11 |
12 comment_sign = '#' | 12 comment_sign = '#' |
13 def discardComments(line): | 13 def discardComments(line): |
14 if comment_sign in line: | 14 if comment_sign in line: |