forked from bbx10/artnet-unicorn-hat
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.properties
307 lines (255 loc) · 9.5 KB
/
config.properties
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
#=========================
# Generator options
#=========================
font.filename=04B_03__.TTF
font.size=82
#x/y offset for screen capturing generator
#if you define screen.capture.window.size.x as 0, the screen capture generator will be disabled
screen.capture.offset=100
screen.capture.window.size.x=0
#screen.capture.window.size.x=500
screen.capture.window.size.y=300
#=========================
#frames per second, examples: fps=25 (default), fps=0.1
#=========================
fps=25
#=========================
#settings for remote client (client/server)
#=========================
remote.client.fps=10
remote.client.use.compression=false
#=========================
#load a preset if PixelController starts, use nr 0 per default
#=========================
#startup.load.preset.nr=0
#=========================
#start in random mode?
#=========================
startup.in.randommode=false
#=========================
#if the random mode is enabled, create a random visual each n seconds
#if this value is 0, then this feature is disabled
#=========================
randommode.lifetime.in.s=15
#=========================
#per default you get # of output windows + 1 visuals
#maybe you need more, so add them here if you want...
#=========================
additional.visual.screens=0
#=========================
#network port config
#=========================
osc.listening.port=9876
#=========================
#enable pixelcontroller sound analyzer (disable it if you don't have a sound card)
#=========================
sound.analyze.enabled=true
#=========================
#if the audio level falls below this threshold, the volume gets muted
#0.0f is the lowest possible value, 1.0f is the maximum value
#=========================
sound.silence.threshold=0.0005f
#=========================
#Preset fader time
#=========================
#if a new preset is loaded or the current visual is randomized it gets crossfaded to the new content
#preset.loading.fade.time=500
#fade time for visual to visual fadings
#visual.fade.time=1500
#=========================
#GUI: define the maximal window size
#=========================
gui.window.maximal.width=620
gui.window.maximal.height=600
#=========================
#GUI: the size of the software output matrix
#=========================
led.pixel.size=16
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
# OUTPUT SETTINGS #
# enable only ONE output device (PixelInvaders, RainbowduinoV2, RainbowduinoV3, Art-Net, TPM2, UDP, Adafruit or Minidmx)
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
#=========================
# the resolution of your led matrix
# this setting is not needed for pixelinvaders panels
#=========================
output.resolution.x=8
output.resolution.y=8
#=========================
#flip each second scanline
#=========================
#output.snake.cabling=true
#=========================
# if your led matrix has a fancy ordering, enter the custom mapping here
# the output mapping table should contain output.resolution.x * output.resolution.y entries
# REMEMBER: the first outputs starts at 0 NOT 1!
#=========================
#output.mapping=0,1,4,5,2,3...
#=========================
# optional, defines the color order of the output device
# this option is used for ALL output devices, if you have multiple panels you must define
# multiple entries, for example if you have 3 panels you need to define "BRG,BRG,BRG"
#
# if this setting is commented out, RGB color order is assumed for all panels
#=========================
#panel.color.order=RGB,RBG
#=========================
# Apply gamma correction for output panels
# Valid options
# - NONE
# - GAMMA_20: apply gamma 2.0 correction
# - GAMMA_22: apply gamma 2.2 correction
# - GAMMA_25: apply gamma 2.5 correction
# - GAMMA_30: apply gamma 3.0 correction
# - SPECIAL1: apply special gamma correction
#=========================
panel.gamma.tab=GAMMA_22
#=========================
# Settings for PixelInvaders panels, valid options:
#=========================
# NO_ROTATE,
# FLIPPEDY,
# ROTATE_90,
# ROTATE_90_FLIPPEDY,
# ROTATE_180,
# ROTATE_180_FLIPPEDY,
# ROTATE_270,
#=========================
#HINT: you define how many PixelInvaders panels are in use, in this example we use four panels.
#pixelinvaders.layout.row1=NO_ROTATE,NO_ROTATE
#pixelinvaders.layout.row2=NO_ROTATE,NO_ROTATE
#Use Expeditinvader panels
#pixelinvaders.is.a.expeditinvader=true
#if different panels have different color charateristics, you can fine-tune the color here (subtract)
#example for two panels
#pixelinvaders.coloradjust.r.0=0
#pixelinvaders.coloradjust.g.0=0
#pixelinvaders.coloradjust.b.0=0
#pixelinvaders.coloradjust.r.1=0
#pixelinvaders.coloradjust.g.1=0
#pixelinvaders.coloradjust.b.1=0
#do not try this device for autodetection (speedup application start)
#pixelinvaders.blacklist.devices=/dev/tty.Bluetooth-Serial-1,/dev/cu.Bluetooth-Serial-1,/dev/cu.Bluetooth-Modem,/dev/cu.Bluetooth-Serial-2,/dev/cu.Bluetooth-PDA-Sync,/dev/tty.Bluetooth-PDA-Sync,/dev/cu.Bluetooth-Modem,/dev/tty.Bluetooth-Modem,/dev/tty.Bluetooth-Serial-2,/dev/tty.Bluetooth-Incoming-Port
#if you have multiple pixelinvaders panels wired up special, you can define this here.
#if you don't define this setting, the "default wiring" is expected
#example (the number define the wiring direction):
# +---+---+---+
# | 0 | 3 | 4 |
# +---+---+---+
# | 1 | 2 | 5 |
# +---+---+---+
#HINT: the first panel is 0!
#pixelinvaders.panel.order=0,3,4,1,2,5
#networked pixelinvader settings, use with ser2net
#pixelinvaders.panel.ip=192.168.111.22
#pixelinvaders.panel.port=5333
#=========================
#settings for null output
#=========================
nulloutput.devices.row1=2
nulloutput.devices.row2=0
#=========================
#settings for rainbowduinoV2
#=========================
#i2c destination address + layout definition
#layout.row1.i2c.addr=5,6
#layout.row2.i2c.addr=8,9
#=========================
#settings for rainbowduinoV3
#=========================
#serial device names + layout definition
# on Linux/OSX use names like "/dev/ttyUSB1"
# on Windows use names like "COM1"
#layout.row1.serial.devices=/dev/ttyUSB0,/dev/ttyUSB1
#layout.row2.serial.devices=/dev/ttyUSB2,/dev/ttyUSB3
#=========================
#settings for Art-Net devices
#Info: PixelController supports more than 1 universe
#do NOT FORGET to define the output resolution above!
#=========================
#HINT: you define how many artnet panels are in use, in this example we use four panels.
artnet.layout.row1=NO_ROTATE
#artnet.layout.row2=NO_ROTATE,NO_ROTATE
#controller ip address
artnet.ip=192.168.1.231
#define the default artnet broadcast address, default is 2.255.255.255
artnet.broadcast.address=255.255.255.0
#define how many rgb pixels are used on a universe, maximal 170 (=510 Channels)
#Example: if you use two 8x8 RGB Led matrix, you connected the first matrix on universe 1
# and the second matrix on universe 2, you would set artnet.pixels.per.universe=64
artnet.pixels.per.universe=64
#define the first universe id
artnet.first.universe.id=1
#=========================
#settings for E1.31 devices
#Info: PixelController supports more than 1 universe
#do NOT FORGET to define the output resolution above!
#=========================
#HINT: you define how many e1.31 panels are in use, in this example we use four panels.
#e131.layout.row1=NO_ROTATE,NO_ROTATE
#e131.layout.row2=NO_ROTATE,NO_ROTATE
#controller ip address
#hint, use unicast address or 239.255.0.0 for multicast
#e131.ip=239.255.0.0
#define how many rgb pixels are used on a universe, maximal 170 (=510 Channels)
#Example: if you use two 8x8 RGB Led matrix, you connected the first matrix on universe 1
# and the second matrix on universe 2, you would set artnet.pixels.per.universe=64
#e131.pixels.per.universe=170
#define the first universe id
#e131.first.universe.id=1
#=========================
#settings for tpm2.net device
#do NOT FORGET to define the output resolution above!
#=========================
#tpm2net.ip=192.168.111.25
#define layout, valid options:
# NO_ROTATE (default),
# FLIPPEDY,
# ROTATE_90,
# ROTATE_90_FLIPPEDY,
# ROTATE_180,
# ROTATE_180_FLIPPEDY,
# ROTATE_270
#HINT: you define how many Tpm2Net panels are in use, in this example we use four panels.
#tpm2net.layout.row1=NO_ROTATE,NO_ROTATE
#tpm2net.layout.row2=NO_ROTATE,NO_ROTATE
#=========================
# rotate output panel
# used for UDP, tpm2 and minidmx
#=========================
#optional rotate image, valid options:
# NO_ROTATE (default),
# FLIPPEDY,
# ROTATE_90,
# ROTATE_90_FLIPPEDY,
# ROTATE_180,
# ROTATE_180_FLIPPEDY,
# ROTATE_270
#output.layout=NO_ROTATE
#=========================
#settings for udp "device"
#do NOT FORGET to define the output resolution above!
#=========================
#send to this address
#udp.ip=192.168.111.25
#udp.port=6803
#=========================
#settings for tpm2 device
#do NOT FORGET to define the output resolution above!
#=========================
#Where is the TPM2 device connected?
# on Linux/OSX use names like "/dev/ttyUSB1"
# on Windows use names like "COM1"
#tpm2.device=/whatever/youwant
#tpm2.baudrate=115200
#=========================
#settings for Raspberry Pi WS2801 device
#do NOT FORGET to define the output resolution above!
#=========================
#rpiws2801.spi.speed=1000000
#=========================
#settings for miniDmx (like the SEDU board)
#do NOT FORGET to define the output resolution above!
#=========================
#minidmx.baudrate=115200
#EOF