-
Notifications
You must be signed in to change notification settings - Fork 82
/
Settings.py
56 lines (47 loc) · 2 KB
/
Settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
class Settings():
# Add Stop buttons at the bottom of the Session. Experimental
# SESSION__STOP_BUTTONS = True
SESSION__STOP_BUTTONS = False
# Link sessions between multiple launchpad95. Experimental
# SESSION__LINK = True
SESSION__LINK = False
# Link stepseq to follow session. Experimental
# STEPSEQ__LINK_WITH_SESSION = True
STEPSEQ__LINK_WITH_SESSION = False
# Should the step sequencer scroll automatically to the currently playing page
STEPSEQ__AUTO_SCROLL = False
# configure what user modes buttons do.
# the 3 first value configure the 3 sub modes of button user mode 1,
# and following ones are for user mode 2 button
USER_MODES_1 = [
"instrument"
, "device"
# ,"user 1"
]
USER_MODES_2 = [
"drum stepseq"
, "melodic stepseq"
# ,"user 2"
]
# Device control mode
DEVICE_CONTROLLER__STEPLESS_MODE = True
# device control stepless fader velocity thresholds
# if velocity is above threshold, the parameter will be changed instantly
VELOCITY_THRESHOLD_MAX = 100
VELOCITY_THRESHOLD_MIN = 40
# used for the gradient of the parameter change
# the higher the value, the slower the parameter change
VELOCITY_FACTOR = (127 ** 2) * (127 / 2)
USE_CUSTOM_DEVICE_CONTROL_COLORS = False
# time sensitive stepless fader
ENABLE_TDC = True
# Time you have to keep the button pressed for the slowest velocity
TDC_MAX_TIME = 2.0
# The number of seconds it takes for a parameter to change from min to max value for each step
TDC_MAP = [0, 0.75, 1.5, 3, 5, 8, 12, 17, 25, 40]
# Logging feature for debugging (creates C:/Users/{USERNAME}/Documents/Ableton/User Library/Remote Scripts/log.txt)
LOGGING = False
# Map buttons to levels in volume slider. Exactly 7 values must be provided.
# The lowest button is always set to -inf. Lowest supported value is -69 dB.
# So far the values are not exact: -24 dB below equals -23.7 dB in Ableton.
VOLUME_LEVELS = (6, 0, -6, -12, -18, -24, -42)