Permalink
Browse files

More tweaking.

  • Loading branch information...
TimothyFitz committed Jan 28, 2012
1 parent 3685144 commit 09476276f4f8e55fc9c4d24669664dd714c13883
Showing with 2 additions and 1 deletion.
  1. +1 −1 shooter/osc/config.py
  2. +1 −0 shooter/osc/dj.py
View
@@ -6,7 +6,7 @@
FADER_THRESHOLD = None#0.05
# Changes per second.
-DIR_CHANGE_BUCKETS = [4, 8, 12, 16, 20, 24]
+DIR_CHANGE_BUCKETS = [2, 4, 6, 10, 12, 14]
# Higher values make it harder on the DJ.
DJ_DIFFICULTY = 1.
View
@@ -71,6 +71,7 @@ def dir_changes(self):
return len(self._dir_changes)
def activity_level(self):
+ print self, self.dir_changes()
for level, changes_per_s in enumerate(config.DIR_CHANGE_BUCKETS):
if self.dir_changes() / float(config.DIR_CHANGE_SECONDS) < changes_per_s:
return level

0 comments on commit 0947627

Please sign in to comment.