diff --git a/examples/XTouchONE2.midizaprc b/examples/XTouchONE2.midizaprc new file mode 100644 index 0000000..77ed1f7 --- /dev/null +++ b/examples/XTouchONE2.midizaprc @@ -0,0 +1,63 @@ + +# This is an alternative configuration for the X-Touch ONE which sets up an +# internal SHIFT key instead. This lets you provide your own shifted +# translations for the keys of the device in midizap, instead of having to +# rely on your DAW's abilities to configure such bindings. + +# 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 mappings 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 SHIFT ^F8 RELEASE SHIFT ^F8 + +# Remap the shifted F1 .. F4 keys to do something useful. E.g., I have them +# bound to the utility keys here, but of course you can change them to +# anything you want. + +^F#4 G#6 # Save +^G4 A6 # Undo +^G#4 A#6 # Cancel +^A4 B6 # Enter + +# Remap the shifted F5 and F6 keys to F7 and F8 which are missing on the ONE. + +^A#4 C5 +^B4 C#5 + +# Pass through the shifted cursor keys. This assumes that they're already +# mapped to something in the DAW; e.g., I have the shifted left/right keys +# bound to the previous/next marker functions in Ardour. + +^C8 A#5 C8 # Up +^C#8 A#5 C#8 # Down +^D8 A#5 D8 # Left +^D#8 A#5 D#8 # Right + +# Add any other shifted bindings that you want/need ... + +[MIDI2] + +# feedback for the shifted F1 .. F6 bindings +^G#6 F#4 +^A6 G4 +^A#6 G#4 +^B6 A4 +^C5 A#4 +^C#5 B4 diff --git a/examples/nanoKONTROL2.midizaprc b/examples/nanoKONTROL2.midizaprc index 475e4ff..e71cb80 100644 --- a/examples/nanoKONTROL2.midizaprc +++ b/examples/nanoKONTROL2.midizaprc @@ -1,7 +1,7 @@ # 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. +# but has the MARKER keys set up in a Cubase-specific way. This config patches +# them up a bit so that they do something useful on Linux, at least in Ardour. # Copyright (c) 2018 Albert Graef @@ -15,20 +15,37 @@ 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. +# NOTE: This assumes that you run the nanoKONTROL2 in Cubase mode. Use Korg's +# editor application to enter that mode, or hold the SET and << keys when +# plugging in the device. + +[Ardour] ^ardour_ardour$ + +# AFAICT, the "Prev/Next Marker" functions have no dedicated keys on the MCU. +# In Ardour, they can be accessed with the Q and W keys. + +E7 "q" # MARKER < +F#7 "w" # MARKER > [MIDI] -F7 C7 # "SET" -> MARKER +# Here's another way to access the "Prev/Next Marker" functions which doesn't +# rely on keyboard shortcuts of the application. Instead, it assumes that you +# assign an MCU key combination to these functions in your DAW. I have Ardour +# set up so that SHIFT + the left and right cursor keys on the MCU jumps to +# the previous and next marker, respectively. Of course, you can change this +# to whatever is convenient for you. -# 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 # MCU SHIFT <- +F#7 A#5 D#8 # MCU SHIFT -> -E7 A#5 D8 # SHIFT <- -F#7 A#5 D#8 # SHIFT -> +# Ardour uses the MCU's MARKER key to set a marker, so that's what we assign +# the SET button to. + +F7 C7 # SET -> MARKER + +# Of course, you can set the key to whatever you want. E.g., to map it to the +# SHIFT key: + +#F7 A#5