Remove erroneous assert which I added earlier.
[ardour2.git] / midi_maps / Korg_nanoKONTROL.map
blob17a07f66b04117e9f87e624e3830bc1264689a88
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ArdourMIDIBindings version="1.0.0" name="Korg nanoKONTROL">
4 <!-- 2010-11-26 Chooch Schubert: Map file creation -->
5 <DeviceInfo bank-size="9"/>
7 <!-- Transport Controls -->
8 <Binding channel="1" ctl="44" function="rec-enable"/>
9 <Binding channel="1" ctl="44" function="rec-disable"/>
10 <Binding channel="1" ctl="45" function="transport-roll"/>
11 <Binding channel="1" ctl="46" function="transport-stop"/>
12 <Binding channel="1" ctl="47" function="transport-start"/>
13 <Binding channel="1" ctl="48" function="transport-end"/>
14 <Binding channel="1" ctl="49" function="loop-toggle"/>
16 <!-- The "Scene" button toggles between four banks. It implements this by -->
17 <!-- changing the midi codes that are sent on each channel control, so when -->
18 <!-- you hit the Scene button the nanKONTROL will send different midi codes -->
19 <!-- for each button. Scene 1 is faders 1-9, Scene 2 is faders 10-19, etc. -->
20 <!-- This essentially duplicates Ardours Bank feature. Because Ardour is -->
21 <!-- more flexible, I have chosen to map all of the Scene button states to -->
22 <!-- Ardours "next-bank" function. -->
23 <!-- -->
24 <!-- The drawback is that the indicator LED may be incorrect in the Scene -->
25 <!-- or Bank number indicated (ie: you could be on Ardour Bank 5, but the -->
26 <!-- LED for Scene 1 will be lit up). If this bother you, then you can -->
27 <!-- comment out the following four lines. This will enable you to use the -->
28 <!-- controllers built in Scenes (possibility of 36 tracks), but you will -->
29 <!-- have to use a mouse to change banks in the Ardour GUI -->
30 <Binding sysex="f0 42 40 0 1 4 0 5f 4f 0 f7" function="next-bank"/>
31 <Binding sysex="f0 42 40 0 1 4 0 5f 4f 1 f7" function="next-bank"/>
32 <Binding sysex="f0 42 40 0 1 4 0 5f 4f 2 f7" function="next-bank"/>
33 <Binding sysex="f0 42 40 0 1 4 0 5f 4f 3 f7" function="next-bank"/>
35 <!-- Channel controls: -->
36 <!-- - The two buttons on each channel are unmarked. I decided to use them -->
37 <!-- as "Solo" and "Record Enable". -->
38 <!-- - Channel pan is not yet implemented in Ardour-3, so I chose to map -->
39 <!-- the rotary controls as "Send Gain" which will adjust the volume of -->
40 <!-- the first send on each channel, if one exists. When Ardour -->
41 <!-- impliments panning this will likely be changed, since I feel -->
42 <!-- panning is more useful. -->
43 <Binding channel="1" ctl="2" uri="/route/gain B1"/>
44 <Binding channel="1" ctl="3" uri="/route/gain B2"/>
45 <Binding channel="1" ctl="4" uri="/route/gain B3"/>
46 <Binding channel="1" ctl="5" uri="/route/gain B4"/>
47 <Binding channel="1" ctl="6" uri="/route/gain B5"/>
48 <Binding channel="1" ctl="8" uri="/route/gain B6"/>
49 <Binding channel="1" ctl="9" uri="/route/gain B7"/>
50 <Binding channel="1" ctl="12" uri="/route/gain B8"/>
51 <Binding channel="1" ctl="13" uri="/route/gain B9"/>
53 <Binding channel="1" ctl="23" uri="/route/solo B1"/>
54 <Binding channel="1" ctl="33" uri="/route/recenable B1"/>
55 <Binding channel="1" ctl="24" uri="/route/solo B2"/>
56 <Binding channel="1" ctl="34" uri="/route/recenable B2"/>
57 <Binding channel="1" ctl="25" uri="/route/solo B3"/>
58 <Binding channel="1" ctl="35" uri="/route/recenable B3"/>
59 <Binding channel="1" ctl="26" uri="/route/solo B4"/>
60 <Binding channel="1" ctl="36" uri="/route/recenable B4"/>
61 <Binding channel="1" ctl="27" uri="/route/solo B5"/>
62 <Binding channel="1" ctl="37" uri="/route/recenable B5"/>
63 <Binding channel="1" ctl="28" uri="/route/solo B6"/>
64 <Binding channel="1" ctl="38" uri="/route/recenable B6"/>
65 <Binding channel="1" ctl="29" uri="/route/solo B7"/>
66 <Binding channel="1" ctl="39" uri="/route/recenable B7"/>
67 <Binding channel="1" ctl="30" uri="/route/solo B8"/>
68 <Binding channel="1" ctl="40" uri="/route/recenable B8"/>
69 <Binding channel="1" ctl="31" uri="/route/solo B9"/>
70 <Binding channel="1" ctl="41" uri="/route/recenable B9"/>
72 <Binding channel="1" ctl="14" uri="/route/send/gain B1"/>
73 <Binding channel="1" ctl="15" uri="/route/send/gain B2"/>
74 <Binding channel="1" ctl="16" uri="/route/send/gain B3"/>
75 <Binding channel="1" ctl="17" uri="/route/send/gain B4"/>
76 <Binding channel="1" ctl="18" uri="/route/send/gain B5"/>
77 <Binding channel="1" ctl="19" uri="/route/send/gain B6"/>
78 <Binding channel="1" ctl="20" uri="/route/send/gain B7"/>
79 <Binding channel="1" ctl="21" uri="/route/send/gain B8"/>
80 <Binding channel="1" ctl="22" uri="/route/send/gain B9"/>
82 </ArdourMIDIBindings>