diff options
author | olipet <olpc@localhost.localdomain> | 2007-01-04 23:49:54 (GMT) |
---|---|---|
committer | olipet <olpc@localhost.localdomain> | 2007-01-04 23:49:54 (GMT) |
commit | 6c2242418634806b51dd3c9dae40c19e1dd574aa (patch) | |
tree | 04697b30cac056017a0b4bca0d477476e2d66146 /SynthLab/SynthLabConstants.py | |
parent | c63e84a206863f1087072280a8fb958897d38725 (diff) |
slider snaping method
Diffstat (limited to 'SynthLab/SynthLabConstants.py')
-rwxr-xr-x | SynthLab/SynthLabConstants.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SynthLab/SynthLabConstants.py b/SynthLab/SynthLabConstants.py index 7428c89..4dc3327 100755 --- a/SynthLab/SynthLabConstants.py +++ b/SynthLab/SynthLabConstants.py @@ -6,8 +6,8 @@ class SynthLabConstants: INIT_LOCATIONS = [ [90,760], [150,760], [210,760], [270, 760], [450,760], [510,760], [570,760], [630, 760], [810,760], [870,760], [930,760], [990, 760], [540, 660]] - FLOAT = [.01, 2] - INTEGER = [1, 0] + FLOAT = [.01, False] + INTEGER = [1, 1] # s1 s2 s3 s4 s1min s1max s2min s2max s3min s3max [s1step s1digits] [s2step s2digits] [s3step s3digits] TYPES = { 'lfo': [.5, 1, 0, 0, 0, 1, 0, 20, 0, 5, FLOAT, FLOAT, INTEGER], @@ -19,7 +19,7 @@ class SynthLabConstants: 'pluck': [1, 5000, 0, 1, 0, 2, 100, 8000, 0, 8, FLOAT, INTEGER, FLOAT], 'noise': [0, 3000, 4000, 1, 0, 2, 0, 8000, 0, 6000, INTEGER, FLOAT, FLOAT], 'sample': [1, 5, 5000, 1, 0, 2, 0, 85, 100, 8000, FLOAT, INTEGER, FLOAT], - 'voice': [1, 3, 5, 1, 0, 2, 0, 15, 1, 10, FLOAT, INTEGER, FLOAT], + 'voice': [1, 3, 5, 1, 0, 2, 0, 8, 1, 10, FLOAT, INTEGER, FLOAT], 'wguide': [100, 3000, .8, 1, 0, 200, 100, 5000, 0, 1, FLOAT, FLOAT, FLOAT], 'distort': [800, .7, .7, 1, 0, 1000, 0, 1, 0, 1, FLOAT, FLOAT, FLOAT], 'filter': [1000, .6, 0, 1, 200, 5000, 0, 1, 0, 2, FLOAT, FLOAT, INTEGER], |