diff options
Diffstat (limited to 'common')
-rwxr-xr-x | common/Generation/Generator.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Generation/Generator.py b/common/Generation/Generator.py index 9bac77b..acc605c 100755 --- a/common/Generation/Generator.py +++ b/common/Generation/Generator.py @@ -143,7 +143,8 @@ def generator1( trackOfNotes = [] pageCycle = selectedPageCount % nPagesCycle - if instrument[pageId][trackId][0:4] == 'drum': + #if instrument[pageId][trackId][0:4] == 'drum': + if trackId == 4: if pageCycle not in [0,nPagesCycle-1] and nbeats[pageId] == nbeats[lastPageId]: trackDictionary[trackId][pageId] = [] for n in trackDictionary[trackId][lastPageId]: |