From 5f2808188b71c6eea7440c70321ccfe7b3ccdd55 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sun, 26 Apr 2020 02:31:59 +0200 Subject: Fix channel name for layering config --- DEVELOPMENT.md | 2 ++ configs/layering.cfg | 4 ++-- 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 -- cgit v1.2.3