aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-04-26 02:31:59 +0200
committercbdev <cb@cbcdn.com>2020-04-26 02:31:59 +0200
commit5f2808188b71c6eea7440c70321ccfe7b3ccdd55 (patch)
treeb91ee8602888ad340be675e9e2df5f59e8736256
parent7693ed34ab5e549b8b7fb8ca395bbf15616d6915 (diff)
downloadmidimonster-5f2808188b71c6eea7440c70321ccfe7b3ccdd55.tar.gz
midimonster-5f2808188b71c6eea7440c70321ccfe7b3ccdd55.tar.bz2
midimonster-5f2808188b71c6eea7440c70321ccfe7b3ccdd55.zip
Fix channel name for layering config
-rw-r--r--DEVELOPMENT.md2
-rw-r--r--configs/layering.cfg4
2 files changed, 4 insertions, 2 deletions
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
index 495c4f9..79005a9 100644
--- a/DEVELOPMENT.md
+++ b/DEVELOPMENT.md
@@ -34,6 +34,8 @@ in spirit rather than by the letter.
* Prefer to name unsigned loop counters `u` and signed ones `i`
* Place comments above the section they are commenting on
* Use inline comments sparingly
+* Do not omit '{}' brackets, even if optional (e.g. single-statement conditional bodies)
+* Opening braces stay on the same line as the condition
#### C specific
diff --git a/configs/layering.cfg b/configs/layering.cfg
index b71f9e5..f312a65 100644
--- a/configs/layering.cfg
+++ b/configs/layering.cfg
@@ -7,7 +7,7 @@
bind = 0.0.0.0
[midi in]
-read = BCF
+read = Launch Control
[artnet out]
destination = 255.255.255.255
@@ -18,7 +18,7 @@ script = layering.lua
default-handler = handler
[map]
-in.ch1.cc{1..8} > layers.in{0..7}
+in.ch1.cc{0..15} > layers.{0..15}
layers.out{0..511} > out.{1..512}
in.ch0.note0 > layers.control