-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.js
44 lines (42 loc) · 2.26 KB
/
settings.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
/**
* Default settings.
* @module settings
*/
/** @enum */
const settings = {
/** @type {number} Time in ms in which the UI refresh */
UI_UPDATE_RATE: 100,
/** @type {number}Time in ms in which we query JACK server for statistics. */
JACK_POLLING_RATE: 10000,
/** @type {number} Time in ms that the app will poll jalv for updates on the monitor and control ports. Lower values means more responsive UI, but more prone to errors.*/
JALV_POLLING_RATE: 35,
/** @type {boolean} @experimental Enable monitoring for selected plugin. */
JALV_MONITORING: true,
/** @type {string} Location where to scan folders. */
LV2_PLUGINS_FOLDER: "/user/lib/lv2",
/** @type {boolean} If false, it will not scan for plugins on startup (use with caution). */
SCAN_PLUGINS: true,
/** @type {number} Ammount to scroll when using page up or page dow keys. */
SCROLL_AMMOUNT: 10,
/** @type {"mono"|"stereo"} Define what the default input mode will be.*/
INPUT_MODE: "mono",
/** @type {string} Define what the default left input port mode will be. (jack port name: ex: system:capture_1*/
INPUT_L: "system:capture_1",
/** @type {string} Define what the default right input port mode will be. (jack port name: ex: system:capture_1*/
INPUT_R: "system:capture_2",
/** @type {"mono"|"stereo"} Define what the default output mode will be.*/
OUTPUT_MODE: "stereo",
/** @type {string} Left Channel for the master output. Last plug in will connect to this. */
OUTPUT_L: "system:playback_1",
/** @type {string} Right Channel for the master output. Last plugin will connect to this. */
OUTPUT_R: "system:playback_2",
/** @type {boolean} Each time a plugin is added its connected to the previous and to the master output. Setting this to false will leave connections to the user. */
AUTO_CONNECT: true,
/** @type {boolean} Whether to reconnect all plugins or not automatically after significant changes. If false, user will have to manually reconnect with the button */
AUTO_RECONNECT: true,
/** @type {boolean} If true it will show several debug information on the Log widget. */
SHOW_DEBUG_MSG: true,
/** @type {number} The value the control will be incremented/decremented when using the standard key (left/right) */
DEFAULT_CONTROL_STEP: 1,
};
exports.settings = settings;