forked from bitfocus/companion-module-behringer-xair
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defSolo.js
136 lines (136 loc) · 2.07 KB
/
defSolo.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
export const defSolo = [
{
id: 'solosw',
prefix: '/-stat/solosw/',
cmdMap: [
{
description: 'Channel',
actID: 'ch',
min: 1,
max: 16,
offset: 0,
},
{
description: 'Aux/USB',
actID: 'aux',
min: 1,
max: 1,
offset: 16,
},
{
description: 'FX Return',
actID: 'fxr',
min: 1,
max: 4,
offset: 17,
},
{
description: 'Bus Master',
actID: 'bus',
min: 1,
max: 6,
offset: 39,
},
{
description: 'FX Master',
actID: 'fxs',
min: 1,
max: 4,
offset: 45,
},
{
description: 'Master LR',
actID: 'lr',
min: 1,
max: 1,
offset: 49,
},
{
description: 'DCA',
actID: 'dca',
min: 1,
max: 4,
offset: 50,
},
],
},
{
id: 'config',
prefix: '/config/solo/',
comment: "the following actID will be prefixed with 'solo_'",
cmdMap: [
{
actID: 'level',
description: 'Level',
isFader: true,
fadeType: 161,
},
{
actID: 'source',
description: 'Solo Bus Source',
isFader: false,
bg: [100, 75, 50],
},
{
actID: 'sourcetrim',
description: 'Source Trim',
isFader: true,
fadeType: 73,
},
{
actID: 'chmode',
description: 'Channel Solo',
isFader: false,
},
{
actID: 'busmode',
description: 'Bus Solo',
isFader: false,
},
{
actID: 'dimpfl',
description: 'PFL Attenuation',
isFader: false,
bg: [0, 150, 200],
},
{
actID: 'dimatt',
description: 'Dim Gain/Att',
isFader: true,
fadeType: 40,
},
{
actID: 'mute',
description: 'Mute',
isFader: false,
bg: [128, 0, 0],
},
{
actID: 'mono',
description: 'Mono',
isFader: false,
bg: [0, 150, 200],
},
{
actID: 'dim',
description: 'Dim',
isFader: false,
bg: [0, 150, 200],
},
],
},
{
id: 'action',
prefix: '/-action/',
cmdMap: [
{
actID: 'clearsolo',
description: 'Solo Clear',
statID: '/-stat/solo',
statDesc: 'Any Solo Active',
bg: [168, 0, 0],
isFader: false,
},
],
},
]