Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Generation
diff options
context:
space:
mode:
authorjaberg <james@localhost.localdomain>2007-01-08 11:18:20 (GMT)
committer jaberg <james@localhost.localdomain>2007-01-08 11:18:20 (GMT)
commit7478ebeda0b5cc2a101a3808e64323684ae8ef91 (patch)
tree1e6613a2c76ea2896622311a71138669ecaf8cd6 /Generation
parentc2cd65e519cd77b4d8575ca130213c9cbdc439a6 (diff)
new and improved notelooper
Diffstat (limited to 'Generation')
-rw-r--r--Generation/GenerationRythm.py2
-rw-r--r--Generation/VariationRythm.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Generation/GenerationRythm.py b/Generation/GenerationRythm.py
index fef9d42..b621718 100644
--- a/Generation/GenerationRythm.py
+++ b/Generation/GenerationRythm.py
@@ -104,7 +104,7 @@ class GenerationRythm:
for beat in range( beatsPerPage ):
beats.append( beat * Config.TICKS_PER_BEAT )
for i in range( len( beats ) ):
- print ( beats[ GenerationConstants.PUNCH_ACCENTS[ beatsPerPage ][ i ] ], pow( float( len( beats ) - i) / len( beats ), 1.5 ) * 100.)
+ print 'INFO: GenerationRythm::drumRythmSequence', ( beats[ GenerationConstants.PUNCH_ACCENTS[ beatsPerPage ][ i ] ], pow( float( len( beats ) - i) / len( beats ), 1.5 ) * 100.)
downBeats.append( ( beats[ GenerationConstants.PUNCH_ACCENTS[ beatsPerPage ][ i ] ], pow( float( len( beats ) - i) / len( beats ), 1.5 ) * 100.) )
for downBeat in downBeats:
upBeats.append( ( downBeat[ 0 ] + Config.TICKS_PER_BEAT , downBeat[ 1 ] ) )
diff --git a/Generation/VariationRythm.py b/Generation/VariationRythm.py
index 7506762..5ac727e 100644
--- a/Generation/VariationRythm.py
+++ b/Generation/VariationRythm.py
@@ -62,7 +62,7 @@ class RythmReverse( RythmShuffle ):
self.newOnsetList.append( i )
self.newOnsetList.reverse()
- print len( self.newOnsetList ), len( notesList )
+ print 'INFO: RythmReverse: ', len( self.newOnsetList ), len( notesList )
RythmShuffle.getOldDuration( self, notesList )
RythmShuffle.getNewDuration( self, notesList )