Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Generation
diff options
context:
space:
mode:
authorOli <olivier.belanger@umontreal.ca>2007-07-09 04:42:20 (GMT)
committer Oli <olivier.belanger@umontreal.ca>2007-07-09 04:42:20 (GMT)
commitf58665c0d3e0683b6ceed4911a7837cdc1243ba5 (patch)
tree558ceb5264f53742aced570e32d36c0d7ab66f7a /Generation
parentd3d585737c1cd5116520b15a063e38de293e7626 (diff)
fine tune startup algos
Diffstat (limited to 'Generation')
-rwxr-xr-xGeneration/GenerationConstants.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Generation/GenerationConstants.py b/Generation/GenerationConstants.py
index 1371829..187f292 100755
--- a/Generation/GenerationConstants.py
+++ b/Generation/GenerationConstants.py
@@ -31,13 +31,13 @@ class GenerationConstants:
# Default parameters for algorithmic generation
- RYTHM_DENSITY_BANK = [.25, .88, .92, 1, .22]
- RYTHM_REGU_BANK = [.75, .8, .85, .5, .5]
- PITCH_REGU_BANK = [.5, .8, .5, 1, .9]
- PITCH_STEP_BANK = [.5, .7, .15, .88, .15]
+ RYTHM_DENSITY_BANK = [.25, .88, .92, 1, .25]
+ RYTHM_REGU_BANK = [.75, .8, .85, .4, .5]
+ PITCH_REGU_BANK = [.5, .8, 0, .85, .9]
+ PITCH_STEP_BANK = [.5, .7, 0, .78, .15]
DURATION_BANK = [.8, 1, .8, 1, 1]
- SILENCE_BANK = [.2, .5, .45, .35, .12]
- PATTERN_BANK = [0, 3, 1, 0, 1]
+ SILENCE_BANK = [.2, .5, .25, .35, .12]
+ PATTERN_BANK = [0, 3, 1, 0, 3]
SCALE_BANK = [MAJOR, NATURAL_MINOR, LYDIEN, HARMONIC_MINOR, MYXOLYDIEN]
chooseDefault = random.randint(0,4)