From 0bccf128d8a647f442d1b66032d5670b58c4cef8 Mon Sep 17 00:00:00 2001 From: Albert Graef Date: Wed, 19 Sep 2018 23:36:14 +0200 Subject: [PATCH] Add two simple examples for the new pass-through option. --- examples/XTouchONE.midizaprc | 28 +++++++++++++++++++++++++++ examples/nanoKONTROL2.midizaprc | 34 +++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 examples/XTouchONE.midizaprc create mode 100644 examples/nanoKONTROL2.midizaprc diff --git a/examples/XTouchONE.midizaprc b/examples/XTouchONE.midizaprc new file mode 100644 index 0000000..54dd8a1 --- /dev/null +++ b/examples/XTouchONE.midizaprc @@ -0,0 +1,28 @@ + +# The X-Touch ONE is quite capable as it is, it just lacks a SHIFT key. +# The sole purpose of this utterly trivial config is to provide one. + +# Copyright (c) 2018 Albert Graef + +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice and +# this notice are preserved. This file is offered as-is, without any +# warranty. + +JACK_NAME "midizap-XTouchONE" +JACK_PORTS 2 + +# Pass everything through, except for the one mapping below. +PASSTHROUGH +SYSTEM_PASSTHROUGH + +# NOTE: This assumes that you use the default Mackie mode of the ONE. +# Otherwise you'll have to adjust the key mapping accordingly. I use the +# SCRUB key as a replacement (F8 in MC mode), because Ardour doesn't use +# it. If you do need that key, use another one that you can spare. + +[MIDI] +F8 A#5 + +[MIDI2] +A#5 F8 diff --git a/examples/nanoKONTROL2.midizaprc b/examples/nanoKONTROL2.midizaprc new file mode 100644 index 0000000..475e4ff --- /dev/null +++ b/examples/nanoKONTROL2.midizaprc @@ -0,0 +1,34 @@ + +# The nanoKONTROL2 has no plain Mackie emulation. Its Cubase mode comes close, +# except for the MARKER keys. This config patches them up a bit so that they +# do something useful. + +# Copyright (c) 2018 Albert Graef + +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice and +# this notice are preserved. This file is offered as-is, without any +# warranty. + +JACK_NAME "midizap-nanoKONTROL2" +JACK_PORTS 2 + +# Pass everything through (including feedback), except for the mappings below. +PASSTHROUGH +SYSTEM_PASSTHROUGH + +# NOTE: This assumes that you run the nanoKONTROL2 in Cubase mode. + +[MIDI] + +F7 C7 # "SET" -> MARKER + +# AFAICT, the "Prev/Next Marker" functions have no standard representation in +# MCP. In Ardour, they can be accessed with the Q and W keys, but we don't +# want to depend on "real" keyboard bindings here. Instead, we assume that you +# have bound these operations to some MCP function keys in your DAW. The +# bindings below use the shifted cursor keys, but you can use whatever is +# convenient. + +E7 A#5 D8 # SHIFT <- +F#7 A#5 D#8 # SHIFT ->