-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXML.json
More file actions
309 lines (309 loc) · 11.9 KB
/
XML.json
File metadata and controls
309 lines (309 loc) · 11.9 KB
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
{
// Snippet file for VS-Code
//
// Main macro section
//
"macroprofile": {
"prefix": "MacroProfile",
"body": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"<Profile majorVersion=\"1\" minorVersion=\"3\" product=\"ATEM Television Studio\">",
" <MixEffectBlocks/>",
" <DownstreamKeys/>",
" <ColorGenerators/>",
" <MediaPlayers/>",
" <MacroPool>",
" <Macro index=\"0\" name=\"${1:name}\" description=\"${2:description}\">",
" </Macro>",
" </MacroPool>",
" <MacroControl loop=\"False\"/>",
"</profile>"
],
"description" : "Create a new XML file dedicated to a macro profile"
},
"macro": {
"prefix": "Macro",
"body": [
"<Macro index=\"${1:id}\" name=\"${2:name}\" description=\"${3:description}\">",
"</Macro>"
],
"description" : "Insert a new ATEM Macro"
},
"MacroSleep": {
"prefix": "Macrosleep",
"body": "<Op id=\"MacroSleep\" frames=\"${1:frames}\"/>",
"description" : "Insert a sleep command"
},
//
// Mixer operations
//
"PreviewInput": {
"prefix": "Previewinput",
"body": "<Op id=\"PreviewInput\" mixEffectBlockIndex=\"${1:0}\" input=\"${2:input}\"/>",
"description" : "Select preview input"
},
"ProgramInput": {
"prefix": "Programinput",
"body": "<Op id=\"ProgramInput\" mixEffectBlockIndex=\"${1:0}\" input=\"${2:input}\"/>",
"description" : "Select program input"
},
"cut": {
"prefix": "Cut",
"body": "<Op id=\"Cut\" mixEffectBlockIndex=\"${1:0}\"/>",
"description" : "Select program input"
},
"Autotransition": {
"prefix": "Autotransition",
"body": "<Op id=\"Autotransition\" mixEffectBlockIndex=\"${1:0}\"/>",
"description" : "Select program input"
},
//
// DSK operations
//
"DSKAll": {
"prefix": "DSKAll",
"body": [
"<Op id=\"DownstreamKeyFillInput\" keyIndex=\"${1:0}\" input=\"${2:}\"/>",
"<Op id=\"DownstreamKeyCutInput\" keyIndex=\"${1:0}\" input=\"${2:}\"/>",
"<Op id=\"DownstreamKeyMaskEnable\" keyIndex=\"${1:0}\" enable=\"${2:True/False}\"/>",
"<Op id=\"DownstreamKeyMaskLeft\" keyIndex=\"${1:0}\" left=\"${2:-16}\"/>",
"<Op id=\"DownstreamKeyMaskTop\" keyIndex=\"${1:0}\" top=\"${2:-9}\"/>",
"<Op id=\"DownstreamKeyMaskRight\" keyIndex=\"${1:0}\" right=\"${2:16}\"/>",
"<Op id=\"DownstreamKeyMaskBottom\" keyIndex=\"${1:0}\" bottom=\"${2:9}\"/>",
"<Op id=\"DownstreamKeyPreMultiply\" keyIndex=\"${1:0}\" preMultiply=\"${2:True/False}\"/>",
"<Op id=\"DownstreamKeyClip\" keyIndex=\"${1:0}\" clip=\"${2:0.0}\"/>",
"<Op id=\"DownstreamKeyGain\" keyIndex=\"${1:0}\" gain=\"${2:0.0}\"/>",
"<Op id=\"DownstreamKeyRate\" keyIndex=\"${1:0}\" rate=\"${2:50}\"/>",
"<Op id=\"DownstreamKeyAuto\" keyIndex=\"${1:0}\"/>",
"<Op id=\"DownstreamKeyOnAir\" keyIndex=\"${1:0}\" onAir=\"${2:True/False}\"/>",
"<Op id=\"DownstreamKeyTie\" keyIndex=\"${1:0}\" tie=\"${2:True/False}\"/>"
],
"description" : "All DSK operations"
},
"DownstreamKeyFillInput": {
"prefix": "DSKFillInput",
"body": "<Op id=\"DownstreamKeyFillInput\" keyIndex=\"${1:0}\" input=\"${2:}\"/>",
"description" : "Set DSK input source"
},
"DownstreamKeyCutInput": {
"prefix": "DSKCutInput",
"body": "<Op id=\"DownstreamKeyCutInput\" keyIndex=\"${1:0}\" input=\"${2:}\"/>",
"description" : "Set DSK cut source"
},
"DownstreamKeyMaskEnable": {
"prefix": "DSKMaskEnable",
"body": "<Op id=\"DownstreamKeyMaskEnable\" keyIndex=\"${1:0}\" enable=\"${2:True/False}\"/>",
"description" : "Set DSK Mask enable"
},
"DownstreamKeyMaskLeft": {
"prefix": "DSKMaskLeft",
"body": "<Op id=\"DownstreamKeyMaskLeft\" keyIndex=\"${1:0}\" left=\"${2:-16}\"/>",
"description" : "Set DSK Mask Left position"
},
"DownstreamKeyMaskTop": {
"prefix": "DSKMaskTop",
"body": "<Op id=\"DownstreamKeyMaskTop\" keyIndex=\"${1:0}\" top=\"${2:-9}\"/>",
"description" : "Set DSK Mask Top position"
},
"DownstreamKeyMaskRight": {
"prefix": "DSKMaskRight",
"body": "<Op id=\"DownstreamKeyMaskRight\" keyIndex=\"${1:0}\" right=\"${2:16}\"/>",
"description" : "Set DSK Mask Right position"
},
"DownstreamKeyMaskBottom": {
"prefix": "DSKMaskBottom",
"body": "<Op id=\"DownstreamKeyMaskBottom\" keyIndex=\"${1:0}\" bottom=\"${2:9}\"/>",
"description" : "Set DSK Mask Bottom position"
},
"DownstreamKeyPreMultiply": {
"prefix": "DSKPreMultiply",
"body": "<Op id=\"DownstreamKeyPreMultiply\" keyIndex=\"${1:0}\" preMultiply=\"${2:True/False}\"/>",
"description" : "Set DSK preMultiply"
},
"DownstreamKeyClip": {
"prefix": "DSKClip",
"body": "<Op id=\"DownstreamKeyClip\" keyIndex=\"${1:0}\" clip=\"${2:0.0}\"/>",
"description" : "Set DSK Clip value 0.0-1.0"
},
"DownstreamKeyGain": {
"prefix": "DSKGain",
"body": "<Op id=\"DownstreamKeyGain\" keyIndex=\"${1:0}\" gain=\"${2:0.0}\"/>",
"description" : "Set DSK Gain value 0.0-1.0"
},
"DownstreamKeyRate": {
"prefix": "DSKRate",
"body": "<Op id=\"DownstreamKeyRate\" keyIndex=\"${1:0}\" rate=\"${2:50}\"/>",
"description" : "Set DSK Rate value fps"
},
"DownstreamKeyAuto": {
"prefix": "DSKAuto",
"body": "<Op id=\"DownstreamKeyAuto\" keyIndex=\"${1:0}\"/>",
"description" : "Set DSK Auto On-air"
},
"DownstreamKeyOnAir": {
"prefix": "DSKOnAir",
"body": "<Op id=\"DownstreamKeyOnAir\" keyIndex=\"${1:0}\" onAir=\"${2:True/False}\"/>",
"description" : "Set DSK On-air"
},
"DownstreamKeyTie": {
"prefix": "DSKTie",
"body": "<Op id=\"DownstreamKeyTie\" keyIndex=\"${1:0}\" tie=\"${2:True/False}\"/>",
"description" : "Set DSK Tie to next transition"
},
//
// USK operations
//
"KeyType": {
"prefix": "KeyType",
"body": "<Op id=\"KeyType\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" type=\"${3:Luma/Chroma/Pattern}\"/>",
"description" : "Set USK Type"
},
"KeyFillInput": {
"prefix": "KeyFillInput",
"body": "<Op id=\"KeyFillInput\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" input=\"${3:MediaPlayer1}\"/>",
"description" : "Set USK Fill Input"
},
"KeyCutInput": {
"prefix": "KeyCutInput",
"body": "<Op id=\"KeyCutInput\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" input=\"${3:MediaPlayer1Key}\"/>",
"description" : "Set USK Fill Input"
},
//
// Chroma values
//
"ChromaKeyHue": {
"prefix": "ChromaKeyHue",
"body": "<Op id=\"ChromaKeyHue\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" hue=\"${3:0}\"/>",
"description" : "Set USK Chroma Hue (0 to 360)"
},
"ChromaKeyGain": {
"prefix": "ChromaKeyGain",
"body": "<Op id=\"ChromaKeyGain\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" gain=\"${3:0}\"/>",
"description" : "Set USK Chroma Gain (0 to 1)"
},
"ChromaKeyClip": {
"prefix": "ChromaKeyClip",
"body": "<Op id=\"ChromaKeyClip\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" clip=\"${3:0}\"/>",
"description" : "Set USK Chroma Clip (0 to 1)"
},
"ChromaKeyLift": {
"prefix": "ChromaKeyLift",
"body": "<Op id=\"ChromaKeyLift\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" lift=\"${3:0}\"/>",
"description" : "Set USK Chroma Lift (0 to 1)"
},
//
// Luma values
//
"LumaKeyPreMultiply": {
"prefix": "LumaKeyPreMultiply",
"body": "<Op id=\"LumaKeyPreMultiply\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" LumaKeyPreMultiply=\"${3:True/False}\"/>",
"description" : "Set USK Luma Key Pre-multiplied?"
},
"LumaKeyGain": {
"prefix": "LumaKeyGain",
"body": "<Op id=\"LumaKeyGain\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" gain=\"${3:0}\"/>",
"description" : "Set USK Luma key gain (0 to 1)"
},
"LumaKeyClip": {
"prefix": "LumaKeyClip",
"body": "<Op id=\"LumaKeyClip\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" clip=\"${3:0}\"/>",
"description" : "Set USK Luma Key Clip (0 to 1)"
},
"LumaKeyInvert": {
"prefix": "LumaKeyInvert",
"body": "<Op id=\"LumaKeyInvert\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" invert=\"${3:True/False}\"/>",
"description" : "Set USK Luma Key Invert?"
},
//
// Pattern values
//
"PatternKeyPattern": {
"prefix": "PatternKeyPattern",
"body": "<Op id=\"PatternKeyPattern\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" pattern=\"${2:TopLeftDiagonal}\"/>",
"description" : "Set USK Pattern Key Pattern "
},
"PatternKeySize": {
"prefix": "PatternKeySize",
"body": "<Op id=\"PatternKeySize\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" size=\"${2:0}\"/>",
"description" : "Set USK Pattern Key Size (0 to 1)"
},
"PatternKeySymmetry": {
"prefix": "PatternKeySymmetry",
"body": "<Op id=\"PatternKeySymmetry\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" symmetry=\"${2:0}\"/>",
"description" : "Set USK Pattern Key Symmetry (0 to 1)"
},
"KeyMaskEnable": {
"prefix": "KeyMaskEnable",
"body": "<Op id=\"KeyMaskEnable\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" enable=\"${2:True/False}\"/>",
"description" : "Set USK Mask enable"
},
"KeyMaskLeft": {
"prefix": "KeyMaskLeft",
"body": "<Op id=\"KeyMaskLeft\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" left=\"${2:-16}\"/>",
"description" : "Set USK Mask Left (-16 to 16)"
},
"KeyMaskTop": {
"prefix": "KeyMaskTop",
"body": "<Op id=\"KeyMaskTop\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" top=\"${2:9}\"/>",
"description" : "Set USK Mask Top (9 to -9)"
},
"KeyMaskRight": {
"prefix": "KeyMaskRight",
"body": "<Op id=\"KeyMaskRight\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" right=\"${2:16}\"/>",
"description" : "Set USK Mask Right (16 to -16)"
},
"KeyMaskBottom": {
"prefix": "KeyMaskBottom",
"body": "<Op id=\"KeyMaskBottom\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" bottom=\"${2:-9}\"/>",
"description" : "Set USK Mask Bottom (-9 to 9)"
},
//
// Key options
//
"TransitionSource": {
"prefix": "TransitionSource",
"body": "<Op id=\"TransitionSource\" mixEffectBlockIndex=\"${1:0}\" source=\"${2:Background, Key1, Key2}\"/>",
"description" : "Set USK transition Source (any combination of vales including no values)"
},
"KeyOnAir": {
"prefix": "KeyOnAir",
"body": "<Op id=\"KeyOnAir\" mixEffectBlockIndex=\"${1:0}\" keyIndex=\"${2:0}\" onAir=\"${3:True/False}\"/>",
"description" : "Set USK on-Air"
},
//
// HyperDeck operations
//
"HyperDeckSetSingleClip": {
"prefix": "HyperDeckSetSingleClip",
"body": "<Op id=\"HyperDeckSetSingleClip\" hyperDeckIndex=\"${1:0}\" singleClipEnabled=\"${2:True/False}\"/>",
"description" : "Set Hyperdeck to playback single clip only"
},
"HyperDeckSetSpeed": {
"prefix": "HyperDeckSetSpeed",
"body": "<Op id=\"HyperDeckSetSpeed\" hyperDeckIndex=\"${1:0}\" speedPercent=\"${2:1}\"/>",
"description" : "Set HyperDeck playback speed in percentage. E.g. 0.5 = 50%"
},
"HyperDeckPlay": {
"prefix": "HyperDeckPlay",
"body": "<Op id=\"HyperDeckPlay\" hyperDeckIndex=\"${1:0}\"/>",
"description" : "Start playing HyperDeck"
},
"HyperDeckStop": {
"prefix": "HyperDeckPlay",
"body": "<Op id=\"HyperDeckStop\" hyperDeckIndex=\"${1:0}\"/>",
"description" : "Start playing HyperDeck"
},
"HyperDeckAll": {
"prefix": "HyperDeckAll",
"body": [
"<Op id=\"HyperDeckSetSingleClip\" hyperDeckIndex=\"${1:0}\" singleClipEnabled=\"${2:True/False}\"/>",
"<Op id=\"HyperDeckSetSourceClipIndex\" hyperDeckIndex=\"${1:0}\" clipIndex=\"${2:ClipIndex}\"/>",
"<Op id=\"HyperDeckGoToPosition\" hyperDeckIndex=\"${1:0}\" hour=\"${2:hour}\" minute=\"${3:minute}\" second=\"${4:second}\" frame=\"${4:frame}\"/>",
"<Op id=\"HyperDeckSetLoop\" hyperDeckIndex=\"${1:0}\" loopEnabled=\"True/False\"/>",
"<Op id=\"HyperDeckSetSpeed\" hyperDeckIndex=\"${1:0}\" speedPercent=\"${2:1}\"/>",
"<Op id=\"HyperDeckPlay\" hyperDeckIndex=\"${1:0}\"/>",
"<Op id=\"HyperDeckStop\" hyperDeckIndex=\"${1:0}\"/>"
],
"description" : "Inset all HyperDeck operations"
}
}