forked from willyvvu/LaunchpadPro4Bitwig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.js
54 lines (38 loc) · 1.37 KB
/
Config.js
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
// Written by Jürgen Moßgraber - mossgrabers.de
// (c) 2015-2016
// Licensed under LGPLv3 - http://www.gnu.org/licenses/lgpl-3.0.txt
load ("framework/core/AbstractConfig.js");
// ------------------------------
// Static configurations
// ------------------------------
// Inc/Dec of knobs
Config.fractionValue = 1;
Config.fractionMinValue = 0.5;
Config.maxParameterValue = 128;
// How fast the track and scene arrows scroll the banks/scenes
Config.trackScrollInterval = 100;
Config.sceneScrollInterval = 100;
// ------------------------------
// Editable configurations
// ------------------------------
Config.initListeners (Config.QUANTIZE_AMOUNT);
Config.init = function ()
{
var prefs = host.getPreferences ();
///////////////////////////
// Scale
Config.activateScaleSetting (prefs);
Config.activateScaleBaseSetting (prefs);
Config.activateScaleInScaleSetting (prefs);
Config.activateScaleLayoutSetting (prefs);
///////////////////////////
// Workflow
Config.activateBehaviourOnStopSetting (prefs);
Config.activateSelectClipOnLaunchSetting (prefs);
///////////////////////////
// Pad Sensitivity
Config.activateConvertAftertouchSetting (prefs);
///////////////////////////
// Play and Sequencer
Config.activateQuantizeAmountSetting (prefs);
};