-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmodule.json
275 lines (268 loc) · 6.21 KB
/
module.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
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
{
"name": "WLEDAudioSync",
"type": "UDP",
"path": "Protocol",
"version": "2.1.0",
"description": "Stream Sound data to your WLED Sound Reactive",
"url":"",
"downloadURL": "",
"hasInput": false,
"hasOutput": true,
"hideDefaultCommands": false,
"hideDefaultParameters": [
"protocol",
"autoAdd",
"messageStructure",
"firstValueIsTheName",
"input"
],
"defaults": {
"input":{
"enabled": false
},
"autoAdd" : false,
"protocol" : "Raw",
"output":{
"local": false,
"remoteHost": "239.0.0.1",
"remotePort" : 11988
},
"multicastMode": true
},
"parameters": {
"IP Address to bind": {
"type": "Enum",
"description": "Bind Port to this IP address and send a test message.
Used if you're in trouble to send to the Multicast Group",
"default": "127.0.0.1",
"readOnly": false,
"options": {
"127.0.0.1":"127.0.0.1"
}
},
"Send Test Message": {
"type": "Trigger",
"description": "Click to send test message to the Multicast Group",
},
"Live": {
"type": "Boolean",
"description": "Use live audio datas",
"default": true
},
"Visualize live audio": {
"type": "Trigger",
"description": "Friture is a real-time audio analyzer.
It works on Windows, macOS and Linux. It is free and open source.",
},
"Audio V1": {
"type": "Boolean",
"description": "V1 message structure",
"default": false
},
"Audio V2": {
"type": "Boolean",
"description": "V2 message structure",
"default": true
},
"Delay": {
"type": "Integer",
"description": "Delay to send audio data (ms) : max 256.
Audio datas during the delay are lost",
"default": 0,
"min": 0,
"max": 256
},
"Volume Multiplier": {
"type": "Float",
"description": "Volume level multiplier",
"default": 512,
"min":0,
"max":5120
},
"Frequency Magnitude Multiplier": {
"type": "Float",
"description": "Frequency magnitude level multiplier",
"default": 254,
"min":0,
"max":2540
},
"Take Snapshot": {
"type": "Trigger",
"description": "Take a snapshot of audio data for replay",
},
"Beat Params":{
"type": "Container",
"description":"Aubio Beat BPM parameters",
"collapsed": true,
"Use BPM": {
"type": "Boolean",
"description": "Checked, will use custom Live BPM calculation received via OSC ",
"default": false
},
"Aubio Buffer": {
"type": "Integer",
"description": "Select the size of the buffer used for beat detection.
A larger buffer is more accurate, but also more sluggish.
Refer to the aubio documentation of the tempo module for more details.
Example: -b 128",
"default": 512,
"min": 1,
"max": 1024
},
"Input audio": {
"type": "Enum",
"description": "Choose audio device name for input (first 9 only).
Appear only if you click in Use BPM.
You need to use it only if you want to bypass Chataigne's input audio or have some trouble.",
"readOnly": false,
"options" : {}
},
"Force reload": {
"type": "Trigger",
"description": "Re run the BPM calculation process with 'Input audio' data",
"readOnly": false
},
"Script file": {
"type": "File",
"description": "OSC Script file name",
"readOnly": false,
"default" : "OSCBPM.js"
},
"Sync to beat": {
"type":"Boolean",
"description":" Check it to send UDP message synchronized to beat",
"default":false
},
"Beat type": {
"type": "Enum",
"description": "Select odd, even, or both to send frame",
"readOnly": false,
"options" : {
"Both":0,
"Even":1,
"Odd":2
},
"default":"Both"
}
},
"RTMGC Params":{
"type": "Container",
"description":"Real Time Music Genre Classification parameters",
"collapsed": true,
"Use RTMGC": {
"type": "Boolean",
"description": "Checked, will use RTMGC
Real Time Music Genre Classification",
"default": false
},
"Include All Predictions": {
"type": "Boolean",
"description": "Check to include all prediction datas to determine the Most Probale Genre.
Otherwise, only the first one (with 1.0 score) will be selected.",
"default": false
},
"Include BPM Data": {
"type": "Boolean",
"description": "Check to include probable genre from BPM to determine the Most Probale Genre ",
"default": false
},
"Server Port": {
"type": "Integer",
"description": "NodeJs server port : max 65536",
"default": 8000,
"min": 1,
"max": 65536
},
"Script file": {
"type": "File",
"description": "OSC Script file name",
"readOnly": false,
"default" : "OSCRTMGC.js"
}
},
"RTMMD Params":{
"type": "Container",
"description":"Real Time Music Mood Detection parameters",
"collapsed": true,
"Use RTMMD": {
"type": "Boolean",
"description": "Checked, will use RTMMD:
Real Time Music Mood Detection",
"default": false
},
"Show Screen": {
"type": "Boolean",
"description": "Show Emotion Color Map Screen",
"default": true
},
"Verbose": {
"type": "Boolean",
"description": "Show verbose informations",
"default": false
},
"Script file": {
"type": "File",
"description": "OSC Script file name",
"readOnly": false,
"default" : "OSCRTMMD.js"
}
}
},
"values": {
"beat":{
"type":"Boolean",
"description":"Value true of false at each beat.",
"readOnly":true,
"default":false
}
},
"scripts": [
"WLEDAudioSync.js"
],
"commands": {
"Snapshot":
{
"menu":"Replay",
"callback":"runReplay",
"parameters":{
"File name":{
"type":"File",
"description": "Select audio data file to replay"
},
"Duration": {
"type": "Integer",
"description": "How many time for replay (ms) max 1500",
"readOnly": false,
"min": 1,
"max": 1500
}
}
},
"WLED":
{
"menu":"FFT",
"callback":"createWLEDFFT",
"parameters":{
"Old Style":{
"type":"Boolean",
"description": "Select old style FFT, otherwise new one",
"default": false
}
}
},
"Custom":
{
"menu":"FFT",
"callback":"createFFT",
"parameters":{
"Size": {
"type": "Float",
"description": "Select FFT size",
"readOnly": false,
"min": 0.01,
"max": 1
}
}
}
}
}