Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/SynthLab/SynthLabConstants.py
diff options
context:
space:
mode:
authorolipet <olpc@localhost.localdomain>2007-01-03 08:49:12 (GMT)
committer olipet <olpc@localhost.localdomain>2007-01-03 08:49:12 (GMT)
commit9f7ad8381a1cfaa24e3dc5a11c435aee85323fa3 (patch)
tree83adb0d7172c628faaa4033606fca6bb0e9e34f4 /SynthLab/SynthLabConstants.py
parent1797f56dcd1d5a62d37de95ac16b85f7102ff8d5 (diff)
mini-TamTam drum player and SynthLab look
Diffstat (limited to 'SynthLab/SynthLabConstants.py')
-rwxr-xr-xSynthLab/SynthLabConstants.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/SynthLab/SynthLabConstants.py b/SynthLab/SynthLabConstants.py
index d60faba..eee7b30 100755
--- a/SynthLab/SynthLabConstants.py
+++ b/SynthLab/SynthLabConstants.py
@@ -3,17 +3,17 @@ class SynthLabConstants:
PIC_SIZE = 60
HALF_SIZE = PIC_SIZE / 2
- INIT_LOCATIONS = [ [100,790], [160,790], [220,790], [280, 790], [510,790], [570,790],
- [630,790], [690, 790], [920,790], [980,790], [1040,790], [1100, 790], [600, 670]]
+ INIT_LOCATIONS = [ [100,760], [160,760], [220,760], [280, 760], [510,760], [570,760],
+ [630,760], [690, 760], [920,760], [980,760], [1040,760], [1100, 760], [600, 660]]
FLOAT = [.01, 2]
INTEGER = [1, 0]
# s1 s2 s3 s4 s1min s1max s2min s2max s3min s3max [s1step s1digits] [s2step s2digits] [s3step s3digits]
- TYPES = { 'LFO': [.5, 1, 0, 1, 0, 1, 0, 20, 0, 5, FLOAT, FLOAT, INTEGER],
+ TYPES = { 'lfo': [.5, 1, 0, 1, 0, 1, 0, 20, 0, 5, FLOAT, FLOAT, INTEGER],
'random': [.5, 1.5, 2, 1, 0, 2, 0, 2, 0, 20, FLOAT, FLOAT, FLOAT],
- 'ADSR': [.02, .05, .8, .1, 0, 1, 0, 1, 0, 1, FLOAT, FLOAT, FLOAT],
- 'FM': [1, .5, 5, 1, 0, 2, 0, 2, 0, 10, FLOAT, FLOAT, FLOAT],
+ 'adsr': [.02, .05, .8, .1, 0, 1, 0, 1, 0, 1, FLOAT, FLOAT, FLOAT],
+ 'fm': [1, .5, 5, 1, 0, 2, 0, 2, 0, 10, FLOAT, FLOAT, FLOAT],
'buzz': [1, 30, .85, 1, 0, 2, 0, 40, 0, 1, FLOAT, INTEGER, FLOAT],
'vco': [1, 1, .2, 1, 0, 2, 0, 2, 0, .5, FLOAT, INTEGER, FLOAT],
'pluck': [1, 0, 0, 1, 0, 2, 0, 0, 0, 0, FLOAT, INTEGER, INTEGER],
@@ -27,7 +27,7 @@ class SynthLabConstants:
'reverb': [.8, .8, .5, 1, 0, 1, 0, 1, 0, 1, FLOAT, FLOAT, FLOAT],
'harmon': [1.25, .5, 0, 1, 0, 2, 0, 1, 0, 0, FLOAT, FLOAT, INTEGER]}
- CONTROL_TYPES = ['LFO', 'random', 'ADSR']
- SOURCE_TYPES = ['FM', 'buzz', 'vco', 'pluck', 'noise', 'samples', 'voice']
+ CONTROL_TYPES = ['lfo', 'random', 'adsr']
+ SOURCE_TYPES = ['fm', 'buzz', 'vco', 'pluck', 'noise', 'samples', 'voice']
FX_TYPES = ['wguide', 'distortion','filter', 'ringMod', 'reverb', 'harmon']
CHOOSE_TYPE = [CONTROL_TYPES, SOURCE_TYPES, FX_TYPES]