Files
artmap/config.example.toml

42 lines
957 B
TOML
Raw Normal View History

# artmap configuration
# Run with: go run . -config config.toml [-port 6454] [-broadcast 2.255.255.255]
# Address format:
# from: universe[:channels] - range specifies which channels to read
# to: universe[:channel] - single channel specifies where to start writing
#
# From examples:
# "0.0.1" - all channels (1-512)
# "0.0.1:50" - channel 50 only
# "0.0.1:50-" - channels 50-512
# "0.0.1:50-100" - channels 50-100
#
# To examples:
# "0.0.1" - starting at channel 1
# "0.0.1:50" - starting at channel 50
# Remap entire universe
[[mapping]]
from = "0.0.0"
to = "0.0.5"
# Channel-level remap for fixture spillover
# Channels 450-512 from universe 0 -> channels 1-63 of universe 1
[[mapping]]
from = "0.0.0:450-512"
to = "0.0.1:1"
# Using plain universe numbers
[[mapping]]
from = 2
to = 10
# Multiple outputs from same source
[[mapping]]
from = "0.0.3"
to = "0.0.7"
[[mapping]]
from = "0.0.3"
to = "0.0.8"