diff options
author | Oli <olivier.belanger@umontreal.ca> | 2007-08-21 04:29:06 (GMT) |
---|---|---|
committer | Oli <olivier.belanger@umontreal.ca> | 2007-08-21 04:29:06 (GMT) |
commit | 590fa7931ed2995a35ce54cc73b535828c00b167 (patch) | |
tree | 6ef6a684efe077844ba3bd3e62b5f0f5dd4f11e0 /Generation | |
parent | 6e89806275673d7785aab0e0a44355eee678aea2 (diff) |
pointer, draw and paint now working
Diffstat (limited to 'Generation')
-rw-r--r-- | Generation/GenerationRythm.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Generation/GenerationRythm.py b/Generation/GenerationRythm.py index 00eaabb..c2ba937 100644 --- a/Generation/GenerationRythm.py +++ b/Generation/GenerationRythm.py @@ -43,7 +43,7 @@ class GenerationRythm: self.count = 0 onsetTime = onsetDelta + lastOnsetTime lastOnsetTime = onsetTime - if onsetTime < barLength: + if onsetTime < barLength-2: rythmSequence.append(onsetTime) continue else: @@ -55,7 +55,7 @@ class GenerationRythm: self.count = 0 onsetTime = onsetDelta + lastOnsetTime lastOnsetTime = onsetTime - if onsetTime < barLength: + if onsetTime < barLength-2: rythmSequence.append(onsetTime) continue else: @@ -67,7 +67,7 @@ class GenerationRythm: self.count = 0 onsetTime = onsetDelta + lastOnsetTime lastOnsetTime = onsetTime - if onsetTime < barLength: + if onsetTime < barLength-2: rythmSequence.append(onsetTime) continue else: |