Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common/Generation/Drunk.py
diff options
context:
space:
mode:
authorOli <olivier.belanger@umontreal.ca>2007-10-09 05:42:59 (GMT)
committer Oli <olivier.belanger@umontreal.ca>2007-10-09 05:42:59 (GMT)
commit7400fb60ca6b454330996cc5b2c425b8c1e366c9 (patch)
tree00f74d6b7a4eca2245b782771296a688140dd679 /common/Generation/Drunk.py
parentd823a57aec432898701f136da37e7aecabf3ac34 (diff)
work on meta algo, amplitude scaled on transposition
Diffstat (limited to 'common/Generation/Drunk.py')
-rwxr-xr-xcommon/Generation/Drunk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Generation/Drunk.py b/common/Generation/Drunk.py
index 1bc3bbb..fb7b765 100755
--- a/common/Generation/Drunk.py
+++ b/common/Generation/Drunk.py
@@ -84,7 +84,7 @@ class Repeter( Drunk ):
return self.lastValue
def getStepSize( self, direction, maxStepSize, maxValue ):
- if random.randint( 0, 100 ) < 20:
+ if random.randint( 0, 100 ) < 35:
return Drunk.getStepSize( self, direction, maxStepSize, maxValue )
else:
return Drunk.getStepSize( self, direction, 0, maxValue )