diff options
author | jaberg <james@localhost.localdomain> | 2007-01-07 21:24:04 (GMT) |
---|---|---|
committer | jaberg <james@localhost.localdomain> | 2007-01-07 21:24:04 (GMT) |
commit | 1becac24dfa6bd0cee4ae46f4c0b8630bfbb6269 (patch) | |
tree | 70d602342d546fd8c268143b54d46b8ca580a7ed /Player/RythmPlayer.py | |
parent | 2a940a71469b2b5964e8deab3ed6db0254424671 (diff) |
unify_edit init
Diffstat (limited to 'Player/RythmPlayer.py')
-rw-r--r-- | Player/RythmPlayer.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Player/RythmPlayer.py b/Player/RythmPlayer.py index ba0b11a..cfd54b7 100644 --- a/Player/RythmPlayer.py +++ b/Player/RythmPlayer.py @@ -3,10 +3,9 @@ pygtk.require( '2.0' ) import gtk import gobject -from Framework.Constants import Constants -from Framework.CSound.CSoundNote import CSoundNote -from Framework.CSound.CSoundClient import CSoundClient -from Framework.CSound.CSoundConstants import CSoundConstants +import Config +from Util.CSoundNote import CSoundNote +from Util.CSoundClient import CSoundClient class RythmPlayer: def __init__( self, client, recordButtonState ): @@ -98,7 +97,7 @@ class RythmPlayer: self.startLooking = 0 self.currentTick = self.currentTick + 1 - if self.currentTick >= (Constants.TICKS_PER_BEAT * self.beat): + if self.currentTick >= (Config.TICKS_PER_BEAT * self.beat): if self.recordState: self.recordState = 0 self.sequencerPlayback = 1 |