get rid of const warnings
[ardour.git] / midi_maps / Korg_nanoKONTROL2_With_Master.map
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ArdourMIDIBindings version="1.1.0" name="Korg nanoKONTROL2 With Master">
3
4 <!-- This NanoKontrol2 map have some special feature. I use 7 channel for the tracks            -->
5 <!-- and the NÂș 8 for the master fader, for that reason, the "bank-size" is set to 7.          -->
6 <!-- Some advice: In the Korg control editor utility (Work fine under wine):                    -->
7 <!-- 1 : Set the main "RECORD", "loop" and the track "Solo" "Mute" and "Record" button to toggle-->
8 <!-- (normally they are on momentary)                                                           -->
9 <!-- 2012-07.03 Philippe Demartin inspired from the original NanoKontrol map by                 -->
10 <!-- 2010-11-26 Chooch Schubert: Map file creation                                              -->
11
12   <DeviceInfo bank-size="7"/>
13         
14   <Binding msg="B0 2d 7f" function="rec-enable"/>
15   <Binding msg="B0 2d 00" function="rec-disable"/>
16   <Binding channel="1" ctl="41" function="transport-roll"/>
17   <Binding channel="1" ctl="42" function="transport-stop"/>
18   <Binding channel="1" ctl="43" function="transport-start"/>
19   <Binding channel="1" ctl="44" function="transport-end"/>
20   <Binding channel="1" ctl="46" function="loop-toggle"/>
21   <Binding msg="B0 3c 7f" action="Editor/add-location-from-playhead"/>
22   <Binding msg="B0 3d 7f" action="Editor/jump-backward-to-mark"/>
23   <Binding msg="B0 3e 7f" action="Editor/jump-forward-to-mark"/>
24   <Binding msg="B0 3a 7f" function="prev-bank"/>
25   <Binding msg="B0 3b 7f" function="next-bank"/>
26
27
28 <!--  Channel controls:                                                 --> 
29 <!--  - There is 3 buttons on each tarck. Assigned to                   -->
30 <!--    "Solo" "Mute" and "Record Enable".                              -->
31 <!--  - Channel pan is implemented now in Ardour-3,                     -->
32
33  
34
35
36   <Binding channel="1" ctl="16" uri="/route/pandirection B1"/>  
37   <Binding channel="1" ctl="32" uri="/route/solo B1"/>
38   <Binding channel="1" ctl="48" uri="/route/mute B1"/>
39   <Binding channel="1" ctl="64" uri="/route/recenable B1"/>
40   <Binding channel="1" ctl="0" uri="/route/gain B1"/>
41   
42   <Binding channel="1" ctl="17" uri="/route/pandirection B2"/>
43   <Binding channel="1" ctl="33" uri="/route/solo B2"/>
44   <Binding channel="1" ctl="49" uri="/route/mute B2"/>
45   <Binding channel="1" ctl="65" uri="/route/recenable B2"/>
46   <Binding channel="1" ctl="1" uri="/route/gain B2"/>
47   
48   <Binding channel="1" ctl="18" uri="/route/pandirection B3"/>
49   <Binding channel="1" ctl="34" uri="/route/solo B3"/>
50   <Binding channel="1" ctl="50" uri="/route/mute B3"/>
51   <Binding channel="1" ctl="66" uri="/route/recenable B3"/>
52   <Binding channel="1" ctl="2" uri="/route/gain B3"/>
53   
54   <Binding channel="1" ctl="19" uri="/route/pandirection B4"/>
55   <Binding channel="1" ctl="35" uri="/route/solo B4"/>
56   <Binding channel="1" ctl="51" uri="/route/mute B4"/>
57   <Binding channel="1" ctl="67" uri="/route/recenable B4"/>
58   <Binding channel="1" ctl="3" uri="/route/gain B4"/>
59   
60   <Binding channel="1" ctl="20" uri="/route/pandirection B5"/>
61   <Binding channel="1" ctl="36" uri="/route/solo B5"/>
62   <Binding channel="1" ctl="52" uri="/route/mute B5"/>
63   <Binding channel="1" ctl="68" uri="/route/recenable B5"/>
64   <Binding channel="1" ctl="4" uri="/route/gain B5"/>
65   
66   <Binding channel="1" ctl="21" uri="/route/pandirection B6"/>
67   <Binding channel="1" ctl="37" uri="/route/solo B6"/>
68   <Binding channel="1" ctl="53" uri="/route/mute B6"/>
69   <Binding channel="1" ctl="69" uri="/route/recenable B6"/>
70   <Binding channel="1" ctl="5" uri="/route/gain B6"/>
71   
72   <Binding channel="1" ctl="22" uri="/route/pandirection B7"/>
73   <Binding channel="1" ctl="38" uri="/route/solo B7"/>
74   <Binding channel="1" ctl="54" uri="/route/mute B7"/>
75   <Binding channel="1" ctl="70" uri="/route/recenable B7"/>
76   <Binding channel="1" ctl="6" uri="/route/gain B7"/>
77   
78   <!--  -Master section I use the pan pot as pan width,          -->
79   <!--practical to listen to your mix in mono,                   -->
80   <!--the "Solo" button to enable and disable the mixer windows  -->
81   <!--the "Mute" as intended and the "REC" is not used           -->
82   
83   
84   <Binding channel="1" ctl="23" uri="/bus/panwidth master"/>
85   <Binding channel="1" ctl="39" action="Common/toggle-mixer-on-top"/>
86   <Binding channel="1" ctl="55" uri="/bus/mute master"/>
87   <Binding channel="1" ctl="7"  uri="/bus/gain master"/>
88
89
90 </ArdourMIDIBindings>