This repository has been archived by the owner on Jul 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.sample.json
79 lines (79 loc) · 2.72 KB
/
config.sample.json
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
{
"nodes": {
"master": {
"host": "localhost",
"port": 4444,
"channels": {
"garage": {"pin": 0, "active_low": false},
"icicles": {"pin": 1, "active_low": false},
"left-window": {"pin": 2, "active_low": false},
"right-window": {"pin": 3, "active_low": false},
"right-tree": {"pin": 4, "active_low": false},
"left-tree": {"pin": 5, "active_low": false},
"laser": {"pin": 6, "active_low": false},
"front-door": {"pin": 7, "active_low": false}
}
},
"upstairs": {
"host": "midicontroller",
"port": 4444,
"channels": {
"up-left-window": {"pin": 0, "active_low": false},
"up-center-window": {"pin": 1, "active_low": false},
"up-right-window": {"pin": 2, "active_low": false},
"box": {"pin": 8, "active_low": true}
}
}
},
"music": {
"carol": {
"song": "carol_of_the_bells.wav",
"midi": "c2.midi",
"commands": "c2.{node}.commands.json",
"note_channel_map": {
"C3": ["garage"],
"D3": ["icicles"],
"E3": ["left-window"],
"F3": ["right-window"],
"G3": ["right-tree"],
"A3": ["left-tree"],
"B3": ["laser"],
"C4": ["front-door"],
"D4": ["garage", "icicles"],
"E4": ["left-window", "right-window"],
"F4": ["right-tree", "left-tree"],
"G4": ["laser", "front-door"],
"A4": ["garage", "left-window"],
"B4": ["icicles", "right-window"],
"C5": ["right-tree", "laser"],
"D5": ["front-door", "left-tree"],
"E5": ["front-door"],
"F5": ["laser"],
"G5": ["left-tree"],
"A5": ["right-tree"],
"B5": ["right-window"],
"C6": ["up-left-window"],
"D6": ["up-center-window"],
"E6": ["up-right-window"]
},
},
"wizards": {
"song": "wizards.wav",
"midi": "wizards.midi",
"commands": "wizards.{node}.commands.json",
"note_channel_map": {
"E2": ["box", "left-tree", "up-left-window", "up-center-window", "up-right-window"],
"F2": ["box"],
"G2": ["box"],
"A2": ["left-tree", "right-tree"],
"B2": ["right-window", "icicles", "left-window", "garage"],
"C3": ["up-left-window", "up-center-window", "up-right-window"],
"D3": ["front-door"],
"G#1": ["laser", "front-door"],
"F1": ["up-left-window", "up-center-window", "up-right-window", "right-window", "icicles", "left-window", "front-door"],
"F#1": ["up-left-window", "up-center-window", "up-right-window", "right-window","icicles", "left-window", "front-door"],
"G#0": ["left-tree", "right-tree", "front-door", "up-left-window", "up-right-window"]
}
}
}
}