From ff6514b8f2d2f7512d47d15a10f7769243b05ecc Mon Sep 17 00:00:00 2001 From: cbdev Date: Fri, 7 Jul 2017 21:32:11 +0200 Subject: Move test/demo configs --- configs/midi-osc.cfg | 52 +++++++++++++ configs/unifest-17.cfg | 195 ++++++++++++++++++++++++++++++++++++++++++++++++ monster.cfg | 96 ++++-------------------- unifest-17.cfg | 197 ------------------------------------------------- 4 files changed, 260 insertions(+), 280 deletions(-) create mode 100644 configs/midi-osc.cfg create mode 100644 configs/unifest-17.cfg delete mode 100644 unifest-17.cfg diff --git a/configs/midi-osc.cfg b/configs/midi-osc.cfg new file mode 100644 index 0000000..215daa9 --- /dev/null +++ b/configs/midi-osc.cfg @@ -0,0 +1,52 @@ +[backend midi] +name = MIDIMonster + +[backend artnet] +bind = * 6454 +net = 0 + +[osc touch] +bind = * 8000 +dest = learn@8000 +root = /4 +/fader1 = f 0.0 1.0 +/fader2 = f 0.0 1.0 +/fader3 = f 0.0 1.0 +/fader4 = f 0.0 1.0 +/fader5 = f 0.0 1.0 +/fader6 = f 0.0 1.0 +/fader7 = f 0.0 1.0 +/fader8 = f 0.0 1.0 + +/multifader1/1 = f 0.0 1.0 +/multifader1/2 = f 0.0 1.0 +/multifader1/3 = f 0.0 1.0 +/multifader1/4 = f 0.0 1.0 +/multifader1/5 = f 0.0 1.0 +/multifader1/6 = f 0.0 1.0 +/multifader1/7 = f 0.0 1.0 +/multifader1/8 = f 0.0 1.0 + +[midi bcf] +read = BCF +write = BCF + +[map] + +bcf.cc0.81 <> touch./fader1 +bcf.cc0.82 <> touch./fader2 +bcf.cc0.83 <> touch./fader3 +bcf.cc0.84 <> touch./fader4 +bcf.cc0.85 <> touch./fader5 +bcf.cc0.86 <> touch./fader6 +bcf.cc0.87 <> touch./fader7 +bcf.cc0.88 <> touch./fader8 + +bcf.cc0.81 <> touch./multifader1/1 +bcf.cc0.82 <> touch./multifader1/2 +bcf.cc0.83 <> touch./multifader1/3 +bcf.cc0.84 <> touch./multifader1/4 +bcf.cc0.85 <> touch./multifader1/5 +bcf.cc0.86 <> touch./multifader1/6 +bcf.cc0.87 <> touch./multifader1/7 +bcf.cc0.88 <> touch./multifader1/8 diff --git a/configs/unifest-17.cfg b/configs/unifest-17.cfg new file mode 100644 index 0000000..1fab484 --- /dev/null +++ b/configs/unifest-17.cfg @@ -0,0 +1,195 @@ +; Note that this configuration file was originally written with +; an older syntax and thus only contains right-to-left mappings + +[backend midi] +name = MIDIMonster + +[backend artnet] +bind = * 6454 +net = 0 + +; XLaser environment +[artnet claudius] +uni = 0 + +; MIDI input devices +[midi pad] +read = Launchpad +write = Launchpad + +[midi bcf1] +read = 20:0 +write = 20:0 + +[midi bcf2] +read = 36:0 +write = 36:0 + +[midi lc1] +read = 24:0 +write = 24:0 + +[midi lc2] +read = 32:0 +write = 32:0 + +; Output MIDI via OUT A on BCF +[midi out] +write = 36:1 +read = 36:1 + +[map] +; ArtNet +claudius.1 < lc1.cc0.1 +claudius.2 < lc1.cc0.2 +claudius.3 < lc1.cc0.3 +claudius.4 < lc1.cc0.4 +claudius.5 < lc1.cc0.5 +claudius.6 < lc1.cc0.6 +claudius.7 < lc1.cc0.7 +claudius.8 < lc1.cc0.8 +claudius.9 < lc1.cc0.9 +claudius.10 < lc1.cc0.10 +claudius.11 < lc1.cc0.11 +claudius.12 < lc1.cc0.12 +claudius.13 < lc1.cc0.13 +claudius.14 < lc1.cc0.14 +claudius.15 < lc1.cc0.15 +claudius.16 < lc1.cc0.16 + +; BCF Fader +out.note0.0 < bcf1.cc0.81 +out.note0.1 < bcf1.cc0.82 +out.note0.2 < bcf1.cc0.83 +out.note0.3 < bcf1.cc0.84 +out.note0.4 < bcf1.cc0.85 +out.note0.5 < bcf1.cc0.86 +out.note0.6 < bcf1.cc0.87 +out.note0.7 < bcf1.cc0.88 +out.note0.8 < bcf2.cc0.81 +out.note0.9 < bcf2.cc0.82 +out.note0.10 < bcf2.cc0.83 +out.note0.11 < bcf2.cc0.84 +out.note0.12 < bcf2.cc0.85 +out.note0.13 < bcf2.cc0.86 +out.note0.14 < bcf2.cc0.87 +out.note0.15 < bcf2.cc0.88 + +; LC Rotary +out.note0.16 < lc1.cc0.1 +out.note0.17 < lc1.cc0.2 +out.note0.18 < lc1.cc0.3 +out.note0.19 < lc1.cc0.4 +out.note0.20 < lc1.cc0.5 +out.note0.21 < lc1.cc0.6 +out.note0.22 < lc1.cc0.7 +out.note0.23 < lc1.cc0.8 +out.note0.24 < lc1.cc0.9 +out.note0.25 < lc1.cc0.10 +out.note0.26 < lc1.cc0.11 +out.note0.27 < lc1.cc0.12 +out.note0.28 < lc1.cc0.13 +out.note0.29 < lc1.cc0.14 +out.note0.30 < lc1.cc0.15 +out.note0.31 < lc1.cc0.16 +out.note0.32 < lc2.cc0.1 +out.note0.33 < lc2.cc0.2 +out.note0.34 < lc2.cc0.3 +out.note0.35 < lc2.cc0.4 +out.note0.36 < lc2.cc0.5 +out.note0.37 < lc2.cc0.6 +out.note0.38 < lc2.cc0.7 +out.note0.39 < lc2.cc0.8 +out.note0.40 < lc2.cc0.9 +out.note0.41 < lc2.cc0.10 +out.note0.42 < lc2.cc0.11 +out.note0.43 < lc2.cc0.12 +out.note0.44 < lc2.cc0.13 +out.note0.45 < lc2.cc0.14 +out.note0.46 < lc2.cc0.15 +out.note0.47 < lc2.cc0.16 + +; LC Button +out.note0.48 < lc1.note0.0 +out.note0.49 < lc1.note0.1 +out.note0.50 < lc1.note0.2 +out.note0.51 < lc1.note0.3 +out.note0.52 < lc1.note0.4 +out.note0.53 < lc1.note0.5 +out.note0.54 < lc1.note0.6 +out.note0.55 < lc1.note0.7 + +out.note0.56 < lc2.note0.0 +out.note0.57 < lc2.note0.1 +out.note0.58 < lc2.note0.2 +out.note0.59 < lc2.note0.3 +out.note0.60 < lc2.note0.4 +out.note0.61 < lc2.note0.5 +out.note0.62 < lc2.note0.6 +out.note0.63 < lc2.note0.7 + +; Launchpad +out.note0.64 < pad.note0.0 +out.note0.65 < pad.note0.1 +out.note0.66 < pad.note0.2 +out.note0.67 < pad.note0.3 +out.note0.68 < pad.note0.4 +out.note0.69 < pad.note0.5 +out.note0.70 < pad.note0.6 +out.note0.71 < pad.note0.7 +out.note0.72 < pad.note0.16 +out.note0.73 < pad.note0.17 +out.note0.74 < pad.note0.18 +out.note0.75 < pad.note0.19 +out.note0.76 < pad.note0.20 +out.note0.77 < pad.note0.21 +out.note0.78 < pad.note0.22 +out.note0.79 < pad.note0.23 +out.note0.80 < pad.note0.32 +out.note0.81 < pad.note0.33 +out.note0.82 < pad.note0.34 +out.note0.83 < pad.note0.35 +out.note0.84 < pad.note0.36 +out.note0.85 < pad.note0.37 +out.note0.86 < pad.note0.38 +out.note0.87 < pad.note0.39 +out.note0.88 < pad.note0.48 +out.note0.89 < pad.note0.49 +out.note0.90 < pad.note0.50 +out.note0.91 < pad.note0.51 +out.note0.92 < pad.note0.52 +out.note0.93 < pad.note0.53 +out.note0.94 < pad.note0.54 +out.note0.95 < pad.note0.55 +out.note0.96 < pad.note0.64 +out.note0.97 < pad.note0.65 +out.note0.98 < pad.note0.66 +out.note0.99 < pad.note0.67 +out.note0.100 < pad.note0.68 +out.note0.101 < pad.note0.69 +out.note0.102 < pad.note0.70 +out.note0.103 < pad.note0.71 +out.note0.104 < pad.note0.80 +out.note0.105 < pad.note0.81 +out.note0.106 < pad.note0.82 +out.note0.107 < pad.note0.83 +out.note0.108 < pad.note0.84 +out.note0.109 < pad.note0.85 +out.note0.110 < pad.note0.86 +out.note0.111 < pad.note0.87 +out.note0.112 < pad.note0.96 +out.note0.113 < pad.note0.97 +out.note0.114 < pad.note0.98 +out.note0.115 < pad.note0.99 +out.note0.116 < pad.note0.100 +out.note0.117 < pad.note0.101 +out.note0.118 < pad.note0.102 +out.note0.119 < pad.note0.103 +out.note0.120 < pad.note0.112 +out.note0.121 < pad.note0.113 +out.note0.122 < pad.note0.114 +out.note0.123 < pad.note0.115 +out.note0.124 < pad.note0.116 +out.note0.125 < pad.note0.117 +out.note0.126 < pad.note0.118 +out.note0.127 < pad.note0.119 diff --git a/monster.cfg b/monster.cfg index 3eca560..171252f 100644 --- a/monster.cfg +++ b/monster.cfg @@ -2,93 +2,23 @@ name = MIDIMonster [backend artnet] -bind = * 6454 +bind = * net = 0 -[osc test] -bind = * 8000 -dest = ::1 8001 -root = /1 +[midi in] +read = nano -[osc t2] -bind = * 8002 -dest = ::1 8001 -root = /1 +[artnet net1] +uni = 5 +dest = 192.168.178.255 -[midi lc] -write = FLUID - -[loopback loop] +[artnet net2] +iface = 1 +uni = 5 +dest = 255.255.255.255 [map] -loop.x < test./xy:0 -loop.y < test./xy:1 -loop.f1 < test./fader1 -loop.f2 < test./fader2 -loop.f3 < test./fader3 -loop.f4 < test./fader4 -loop.t1 < test./toggle1 -loop.t2 < test./toggle2 -loop.t3 < test./toggle3 -loop.pa1 < test./push1 -loop.pa2 < test./push2 -loop.pa3 < test./push3 -loop.pa4 < test./push4 -loop.pa5 < test./push5 -loop.pa6 < test./push6 -loop.pa7 < test./push7 -loop.pa8 < test./push8 -loop.pa9 < test./push9 -loop.pb0 < test./push10 -loop.pb1 < test./push11 -loop.pb2 < test./push12 - -loop.pc1 < t2./push1 -loop.pc2 < t2./push2 -loop.pc3 < t2./push3 -loop.pc4 < t2./push4 -loop.pc5 < t2./push5 -loop.pc6 < t2./push6 -loop.pc7 < t2./push7 -loop.pc8 < t2./push8 -loop.pc9 < t2./push9 -loop.pd0 < t2./push10 -loop.pd1 < t2./push11 -loop.pd2 < t2./push12 - - -lc.note0.30 < loop.x -lc.note0.31 < loop.y -lc.note0.32 < loop.f1 -lc.note0.33 < loop.f2 -lc.note0.34 < loop.f3 -lc.note0.35 < loop.f4 -lc.note0.36 < loop.t1 -lc.note0.37 < loop.t2 -lc.note0.38 < loop.t3 - -lc.note0.48 < loop.pc1 -lc.note0.49 < loop.pc2 -lc.note0.50 < loop.pc3 -lc.note0.51 < loop.pc4 -lc.note0.52 < loop.pc5 -lc.note0.53 < loop.pc6 -lc.note0.54 < loop.pc7 -lc.note0.55 < loop.pc8 -lc.note0.56 < loop.pc9 -lc.note0.57 < loop.pd0 -lc.note0.58 < loop.pd1 -lc.note0.59 < loop.pd2 -lc.note0.60 < loop.pa1 -lc.note0.61 < loop.pa2 -lc.note0.62 < loop.pa3 -lc.note0.63 < loop.pa4 -lc.note0.64 < loop.pa5 -lc.note0.65 < loop.pa6 -lc.note0.66 < loop.pa7 -lc.note0.67 < loop.pa8 -lc.note0.68 < loop.pa9 -lc.note0.69 < loop.pb0 -lc.note0.70 < loop.pb1 -lc.note0.71 < loop.pb2 +in.cc0.1 > net1.1 +in.cc0.2 > net2.1 +net2.1 > in.note0.0 diff --git a/unifest-17.cfg b/unifest-17.cfg deleted file mode 100644 index 35f34b7..0000000 --- a/unifest-17.cfg +++ /dev/null @@ -1,197 +0,0 @@ -; Note that this configuration file was originally written with -; an older syntax and thus only contains right-to-left mappings - -[backend midi] -name = MIDIMonster - -[backend artnet] -bind = * 6454 -net = 0 - -; XLaser environment -[artnet claudius] -net = 0 -uni = 0 -output = true - -; MIDI input devices -[midi pad] -read = Launchpad -write = Launchpad - -[midi bcf1] -read = 20:0 -write = 20:0 - -[midi bcf2] -read = 36:0 -write = 36:0 - -[midi lc1] -read = 24:0 -write = 24:0 - -[midi lc2] -read = 32:0 -write = 32:0 - -; Output MIDI via OUT A on BCF -[midi out] -write = 36:1 -read = 36:1 - -[map] -; ArtNet -claudius.1 < lc1.cc0.1 -claudius.2 < lc1.cc0.2 -claudius.3 < lc1.cc0.3 -claudius.4 < lc1.cc0.4 -claudius.5 < lc1.cc0.5 -claudius.6 < lc1.cc0.6 -claudius.7 < lc1.cc0.7 -claudius.8 < lc1.cc0.8 -claudius.9 < lc1.cc0.9 -claudius.10 < lc1.cc0.10 -claudius.11 < lc1.cc0.11 -claudius.12 < lc1.cc0.12 -claudius.13 < lc1.cc0.13 -claudius.14 < lc1.cc0.14 -claudius.15 < lc1.cc0.15 -claudius.16 < lc1.cc0.16 - -; BCF Fader -out.note0.0 < bcf1.cc0.81 -out.note0.1 < bcf1.cc0.82 -out.note0.2 < bcf1.cc0.83 -out.note0.3 < bcf1.cc0.84 -out.note0.4 < bcf1.cc0.85 -out.note0.5 < bcf1.cc0.86 -out.note0.6 < bcf1.cc0.87 -out.note0.7 < bcf1.cc0.88 -out.note0.8 < bcf2.cc0.81 -out.note0.9 < bcf2.cc0.82 -out.note0.10 < bcf2.cc0.83 -out.note0.11 < bcf2.cc0.84 -out.note0.12 < bcf2.cc0.85 -out.note0.13 < bcf2.cc0.86 -out.note0.14 < bcf2.cc0.87 -out.note0.15 < bcf2.cc0.88 - -; LC Rotary -out.note0.16 < lc1.cc0.1 -out.note0.17 < lc1.cc0.2 -out.note0.18 < lc1.cc0.3 -out.note0.19 < lc1.cc0.4 -out.note0.20 < lc1.cc0.5 -out.note0.21 < lc1.cc0.6 -out.note0.22 < lc1.cc0.7 -out.note0.23 < lc1.cc0.8 -out.note0.24 < lc1.cc0.9 -out.note0.25 < lc1.cc0.10 -out.note0.26 < lc1.cc0.11 -out.note0.27 < lc1.cc0.12 -out.note0.28 < lc1.cc0.13 -out.note0.29 < lc1.cc0.14 -out.note0.30 < lc1.cc0.15 -out.note0.31 < lc1.cc0.16 -out.note0.32 < lc2.cc0.1 -out.note0.33 < lc2.cc0.2 -out.note0.34 < lc2.cc0.3 -out.note0.35 < lc2.cc0.4 -out.note0.36 < lc2.cc0.5 -out.note0.37 < lc2.cc0.6 -out.note0.38 < lc2.cc0.7 -out.note0.39 < lc2.cc0.8 -out.note0.40 < lc2.cc0.9 -out.note0.41 < lc2.cc0.10 -out.note0.42 < lc2.cc0.11 -out.note0.43 < lc2.cc0.12 -out.note0.44 < lc2.cc0.13 -out.note0.45 < lc2.cc0.14 -out.note0.46 < lc2.cc0.15 -out.note0.47 < lc2.cc0.16 - -; LC Button -out.note0.48 < lc1.note0.0 -out.note0.49 < lc1.note0.1 -out.note0.50 < lc1.note0.2 -out.note0.51 < lc1.note0.3 -out.note0.52 < lc1.note0.4 -out.note0.53 < lc1.note0.5 -out.note0.54 < lc1.note0.6 -out.note0.55 < lc1.note0.7 - -out.note0.56 < lc2.note0.0 -out.note0.57 < lc2.note0.1 -out.note0.58 < lc2.note0.2 -out.note0.59 < lc2.note0.3 -out.note0.60 < lc2.note0.4 -out.note0.61 < lc2.note0.5 -out.note0.62 < lc2.note0.6 -out.note0.63 < lc2.note0.7 - -; Launchpad -out.note0.64 < pad.note0.0 -out.note0.65 < pad.note0.1 -out.note0.66 < pad.note0.2 -out.note0.67 < pad.note0.3 -out.note0.68 < pad.note0.4 -out.note0.69 < pad.note0.5 -out.note0.70 < pad.note0.6 -out.note0.71 < pad.note0.7 -out.note0.72 < pad.note0.16 -out.note0.73 < pad.note0.17 -out.note0.74 < pad.note0.18 -out.note0.75 < pad.note0.19 -out.note0.76 < pad.note0.20 -out.note0.77 < pad.note0.21 -out.note0.78 < pad.note0.22 -out.note0.79 < pad.note0.23 -out.note0.80 < pad.note0.32 -out.note0.81 < pad.note0.33 -out.note0.82 < pad.note0.34 -out.note0.83 < pad.note0.35 -out.note0.84 < pad.note0.36 -out.note0.85 < pad.note0.37 -out.note0.86 < pad.note0.38 -out.note0.87 < pad.note0.39 -out.note0.88 < pad.note0.48 -out.note0.89 < pad.note0.49 -out.note0.90 < pad.note0.50 -out.note0.91 < pad.note0.51 -out.note0.92 < pad.note0.52 -out.note0.93 < pad.note0.53 -out.note0.94 < pad.note0.54 -out.note0.95 < pad.note0.55 -out.note0.96 < pad.note0.64 -out.note0.97 < pad.note0.65 -out.note0.98 < pad.note0.66 -out.note0.99 < pad.note0.67 -out.note0.100 < pad.note0.68 -out.note0.101 < pad.note0.69 -out.note0.102 < pad.note0.70 -out.note0.103 < pad.note0.71 -out.note0.104 < pad.note0.80 -out.note0.105 < pad.note0.81 -out.note0.106 < pad.note0.82 -out.note0.107 < pad.note0.83 -out.note0.108 < pad.note0.84 -out.note0.109 < pad.note0.85 -out.note0.110 < pad.note0.86 -out.note0.111 < pad.note0.87 -out.note0.112 < pad.note0.96 -out.note0.113 < pad.note0.97 -out.note0.114 < pad.note0.98 -out.note0.115 < pad.note0.99 -out.note0.116 < pad.note0.100 -out.note0.117 < pad.note0.101 -out.note0.118 < pad.note0.102 -out.note0.119 < pad.note0.103 -out.note0.120 < pad.note0.112 -out.note0.121 < pad.note0.113 -out.note0.122 < pad.note0.114 -out.note0.123 < pad.note0.115 -out.note0.124 < pad.note0.116 -out.note0.125 < pad.note0.117 -out.note0.126 < pad.note0.118 -out.note0.127 < pad.note0.119 -- cgit v1.2.3