-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.js
316 lines (316 loc) · 9.82 KB
/
template.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
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
310
311
312
313
314
315
316
module.exports = {
getTranspiledXml: (MappingValues) =>
`<?xml version="1.0" encoding="UTF-8"?>
<Ableton MajorVersion="5" MinorVersion="10.0_377" SchemaChangeCount="3" Creator="Ableton Live 10.1.15" Revision="38482bc723e52fbede344f40166043c9e5f3833c">
<MidiScale>
<LomId Value="0" />
<LomIdView Value="0" />
<IsExpanded Value="true" />
<On>
<LomId Value="0" />
<Manual Value="true" />
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<MidiCCOnOffThresholds>
<Min Value="64" />
<Max Value="127" />
</MidiCCOnOffThresholds>
</On>
<ParametersListWrapper LomId="0" />
<LastSelectedTimeableIndex Value="0" />
<LastSelectedClipEnvelopeIndex Value="0" />
<LastPresetRef>
<Value>
<AbletonDefaultPresetRef Id="0">
<FileRef>
<HasRelativePath Value="true" />
<RelativePathType Value="5" />
<RelativePath>
<RelativePathElement Id="0" Dir="Devices" />
<RelativePathElement Id="1" Dir="Midi Effects" />
<RelativePathElement Id="2" Dir="Scale" />
</RelativePath>
<Name Value="" />
<Type Value="2" />
<Data>
0000000001B4000200010C4D6163696E746F73682048440000000000000000000000000000000000
000042440001FFFFFFFF055363616C65000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000FFFFFFFF0000
00000000000000000000FFFFFFFF00000A206375000000000000000000000000000C4D6964692045
666665637473000200682F3A4170706C69636174696F6E733A41626C65746F6E204C697665203130
2053756974652E6170703A436F6E74656E74733A4170702D5265736F75726365733A436F7265204C
6962726172793A446576696365733A4D69646920456666656374733A5363616C652F000E000C0005
005300630061006C0065000F001A000C004D006100630069006E0074006F00730068002000480044
001200654170706C69636174696F6E732F41626C65746F6E204C6976652031302053756974652E61
70702F436F6E74656E74732F4170702D5265736F75726365732F436F7265204C6962726172792F44
6576696365732F4D69646920456666656374732F5363616C6500001300012F00FFFF0000
</Data>
<RefersToFolder Value="true" />
<SearchHint>
<PathHint />
<FileSize Value="0" />
<Crc Value="0" />
<MaxCrcSize Value="0" />
<HasExtendedInfo Value="false" />
</SearchHint>
<LivePackName Value="Core Library" />
<LivePackId Value="www.ableton.com/0" />
</FileRef>
<DeviceId Name="MidiScale" />
</AbletonDefaultPresetRef>
</Value>
</LastPresetRef>
<LockedScripts />
<IsFolded Value="false" />
<ShouldShowPresetName Value="true" />
<UserName Value="" />
<Annotation Value="" />
<SourceContext>
<Value />
</SourceContext>
<OverwriteProtectionNumber Value="2561" />
<Base>
<LomId Value="0" />
<Manual Value="0" />
<MidiControllerRange>
<Min Value="0" />
<Max Value="11" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Base>
<BaseScrollPosArranger Value="-1073741824" />
<BaseScrollPosEnvelope Value="-1073741824" />
<Transpose>
<LomId Value="0" />
<Manual Value="0" />
<MidiControllerRange>
<Min Value="-36" />
<Max Value="36" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Transpose>
<TransposeScrollPosArranger Value="-1073741824" />
<TransposeScrollPosEnvelope Value="-1073741824" />
<Fold>
<LomId Value="0" />
<Manual Value="false" />
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<MidiCCOnOffThresholds>
<Min Value="64" />
<Max Value="127" />
</MidiCCOnOffThresholds>
</Fold>
<Lowest>
<LomId Value="0" />
<Manual Value="0" />
<MidiControllerRange>
<Min Value="0" />
<Max Value="127" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Lowest>
<LowestScrollPosArranger Value="-1073741824" />
<LowestScrollPosEnvelope Value="-1073741824" />
<Range>
<LomId Value="0" />
<Manual Value="128" />
<MidiControllerRange>
<Min Value="0" />
<Max Value="128" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Range>
<Mapping.0>
<LomId Value="0" />
<Manual Value="${MappingValues[0]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.0>
<Mapping.1>
<LomId Value="0" />
<Manual Value="${MappingValues[1]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.1>
<Mapping.2>
<LomId Value="0" />
<Manual Value="${MappingValues[2]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.2>
<Mapping.3>
<LomId Value="0" />
<Manual Value="${MappingValues[3]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.3>
<Mapping.4>
<LomId Value="0" />
<Manual Value="${MappingValues[4]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.4>
<Mapping.5>
<LomId Value="0" />
<Manual Value="${MappingValues[5]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.5>
<Mapping.6>
<LomId Value="0" />
<Manual Value="${MappingValues[6]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.6>
<Mapping.7>
<LomId Value="0" />
<Manual Value="${MappingValues[7]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.7>
<Mapping.8>
<LomId Value="0" />
<Manual Value="${MappingValues[8]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.8>
<Mapping.9>
<LomId Value="0" />
<Manual Value="${MappingValues[9]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.9>
<Mapping.10>
<LomId Value="0" />
<Manual Value="${MappingValues[10]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.10>
<Mapping.11>
<LomId Value="0" />
<Manual Value="${MappingValues[11]}" />
<MidiControllerRange>
<Min Value="-1" />
<Max Value="12" />
</MidiControllerRange>
<AutomationTarget Id="0">
<LockEnvelope Value="0" />
</AutomationTarget>
<ModulationTarget Id="0">
<LockEnvelope Value="0" />
</ModulationTarget>
</Mapping.11>
</MidiScale>
</Ableton>`,
};