diff options
author | Oli <olivier.belanger@umontreal.ca> | 2007-05-18 23:12:31 (GMT) |
---|---|---|
committer | Oli <olivier.belanger@umontreal.ca> | 2007-05-18 23:12:31 (GMT) |
commit | 280280298524aa63e144e87d6c32554a996c23d8 (patch) | |
tree | 481865fffa8e5928e6fbd28468851b7e7ed8da6f /Generation | |
parent | 77cdbcb8b07dbecbc94398825aab30df4cf38ba3 (diff) |
fix for drum generation in Edit
Diffstat (limited to 'Generation')
-rwxr-xr-x | Generation/Generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Generation/Generator.py b/Generation/Generator.py index bddf3dd..db10362 100755 --- a/Generation/Generator.py +++ b/Generation/Generator.py @@ -153,7 +153,7 @@ def generator1( for n in trackDictionary[trackId][lastPageId]: trackDictionary[trackId][pageId].append(n.clone()) elif pageCycle == 3: - for n in trackDictionary[trackId][pageId]: + for n in trackDictionary[trackId][lastPageId]: trackOfNotes.append(n.clone()) trackOnsets = [n.onset for n in trackOfNotes] trackPitchs = [n.pitch for n in trackOfNotes] |