-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathscript.js
51 lines (49 loc) · 1.53 KB
/
script.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
// Show Synesthesia variables in the controller view. Add this to your existing script.
function updateSynVarIndicators() {
const synVars = [
['ToggleOnBeat', syn_ToggleOnBeat],
['MidPresence', syn_MidPresence],
['RandomOnBeat', syn_RandomOnBeat],
['MidHits', syn_MidHits],
['MidHighTime', syn_MidHighTime],
['MidHighLevel', syn_MidHighLevel],
['MidHighHits', syn_MidHighHits],
['Level', syn_Level],
['Hits', syn_Hits],
['PrimeBang', syn_PrimeBang],
['MidLevel', syn_MidLevel],
['Intensity', syn_Intensity],
['OnBeat', syn_OnBeat],
['HighTime', syn_HighTime],
['HighPresence', syn_HighPresence],
['BPMTwitcher', syn_BPMTwitcher],
['HighLevel', syn_HighLevel],
['HighHits', syn_HighHits],
['CurvedTime', syn_CurvedTime],
['MidHighPresence', syn_MidHighPresence],
['BPMSin4', syn_BPMSin4],
['BassHits', syn_BassHits],
['BassExpoCurve', syn_BassExpoCurve],
['BassPresence', syn_BassPresence],
['RawLevel', syn_RawLevel],
['BPMTri2', syn_BPMTri2],
['Time', syn_Time],
['BPMConfidence', syn_BPMConfidence],
['BPMTri', syn_BPMTri],
['FadeInOut', syn_FadeInOut],
['BassLevel', syn_BassLevel],
['BassTime', syn_BassTime],
['BPMSin2', syn_BPMSin2],
['Presence', syn_Presence],
['MidTime', syn_MidTime],
['BPM', syn_BPM],
['BPMSin', syn_BPMSin],
['BeatTime', syn_BeatTime],
]
for (var i = 0; i < synVars.length; i++) {
setControl(synVars[i][0], synVars[i][1])
}
}
function update(dt) {
updateSynVarIndicators()
}