Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Generation/VariationRythm.py
diff options
context:
space:
mode:
authoramartin <olpc@localhost.localdomain>2007-03-04 19:09:10 (GMT)
committer amartin <olpc@localhost.localdomain>2007-03-04 19:09:10 (GMT)
commit39da26fa4a371868e21c6e3e0083161cf7b9efbe (patch)
treeae6fcc2960881f32fdd804c1118506c1fa63508f /Generation/VariationRythm.py
parentf30b36406907dc1956a18c550fe2fdfa151323f4 (diff)
drum pitch (instrument) updates correctly, generation is now a popup, updated duplicate images
Diffstat (limited to 'Generation/VariationRythm.py')
-rw-r--r--Generation/VariationRythm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Generation/VariationRythm.py b/Generation/VariationRythm.py
index 5ac727e..5d27e87 100644
--- a/Generation/VariationRythm.py
+++ b/Generation/VariationRythm.py
@@ -6,7 +6,7 @@ import Config
class RythmShuffle:
def getNewList( self, notesList, nbeats ):
- self.barLength = Constants.TICKS_PER_BEAT * nbeats
+ self.barLength = Config.TICKS_PER_BEAT * nbeats
self.onsetDelta = 0
self.newOnsetList = []
self.oldDuration = []
@@ -51,7 +51,7 @@ class RythmShuffle:
class RythmReverse( RythmShuffle ):
def getNewList( self, notesList, nbeats ):
- self.barLength = Constants.TICKS_PER_BEAT * nbeats
+ self.barLength = Config.TICKS_PER_BEAT * nbeats
self.onsetDelta = 0
self.newOnsetList = []
self.oldDuration = []