Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common/Generation
diff options
context:
space:
mode:
Diffstat (limited to 'common/Generation')
-rwxr-xr-xcommon/Generation/Generator.py3
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]: