aboutsummaryrefslogtreecommitdiffhomepage
path: root/configs/layering.cfg
blob: b71f9e5279f9efefe13a9f0702eaaf9659dcfd23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; This configuration demonstrates how to create a "layered" mapping
; using the Lua backend. The 'control' channel on the layers instance
; selects the offset to which the 16 input channels (mapped from
; the rotaries of a Launch Control) are mapped on the output instance

[backend artnet]
bind = 0.0.0.0

[midi in]
read = BCF

[artnet out]
destination = 255.255.255.255
universe = 1

[lua layers]
script = layering.lua
default-handler = handler

[map]
in.ch1.cc{1..8} > layers.in{0..7}
layers.out{0..511} > out.{1..512}

in.ch0.note0 > layers.control