diff options
author | james <james@loggerhead.localdomain> | 2007-03-03 23:46:31 (GMT) |
---|---|---|
committer | james <james@loggerhead.localdomain> | 2007-03-03 23:46:31 (GMT) |
commit | 85a493976c32f57bdc4cc27820eacd4c3a2b32a0 (patch) | |
tree | 4189ce2c4052a1c4ca56dadb1bfe44d1029012aa /Generation | |
parent | 29cbe5d2b4fb1ddab8152092031714e2c77e78ef (diff) |
more use of DEBUG level to reduce printing
Diffstat (limited to 'Generation')
-rw-r--r-- | Generation/GenerationRythm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Generation/GenerationRythm.py b/Generation/GenerationRythm.py index b621718..0735c12 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 'INFO: GenerationRythm::drumRythmSequence', ( beats[ GenerationConstants.PUNCH_ACCENTS[ beatsPerPage ][ i ] ], pow( float( len( beats ) - i) / len( beats ), 1.5 ) * 100.) + if (Config.DEBUG > 3) : 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 ] ) ) |