Optimize automation-event process splitting
[ardour.git] / midi_maps / Arturia_KeyLab49.map
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ArdourMIDIBindings version="1.0.0" name="Arturia KeyLab 49">
3 <!-- Works with device's factory settings. Transport control is available through MMC. -->
4
5   <DeviceInfo bank-size="8"/>
6
7 <!-- Gain controls. Faders are mapped to faders. -->
8   <Binding channel="1" ctl="73" uri="/route/gain B1"/>
9   <Binding channel="1" ctl="75" uri="/route/gain B2"/>
10   <Binding channel="1" ctl="79" uri="/route/gain B3"/>
11   <Binding channel="1" ctl="72" uri="/route/gain B4"/>
12   <Binding channel="1" ctl="80" uri="/route/gain B5"/>
13   <Binding channel="1" ctl="81" uri="/route/gain B6"/>
14   <Binding channel="1" ctl="82" uri="/route/gain B7"/>
15   <Binding channel="1" ctl="83" uri="/route/gain B8"/>
16   <Binding channel="1" ctl="85" uri="/bus/gain master"/>
17
18 <!-- Pan controls. All encoders except the 2 on the right are mapped to pan direction. -->
19   <Binding channel="1" enc-b="74" uri="/route/pandirection B1"/>
20   <Binding channel="1" enc-b="71" uri="/route/pandirection B2"/>
21   <Binding channel="1" enc-b="76" uri="/route/pandirection B3"/>
22   <Binding channel="1" enc-b="77" uri="/route/pandirection B4"/>
23   <Binding channel="1" enc-b="18" uri="/route/pandirection B5"/>
24   <Binding channel="1" enc-b="19" uri="/route/pandirection B6"/>
25   <Binding channel="1" enc-b="16" uri="/route/pandirection B7"/>
26   <Binding channel="1" enc-b="17" uri="/route/pandirection B8"/>
27
28 <!-- Pan width. Upper right encoder is mapped to the pan width of the selected track -->
29   <Binding channel="1" enc-b="93" uri="/route/panwidth S1"/>
30
31 <!-- Switches -->
32 <!-- Switches 1-8 are mapped to solo toggles.  -->
33
34   <Binding channel="1" ctl="22" uri="/route/solo B1"/>
35   <Binding channel="1" ctl="23" uri="/route/solo B2"/>
36   <Binding channel="1" ctl="24" uri="/route/solo B3"/>
37   <Binding channel="1" ctl="25" uri="/route/solo B4"/>
38   <Binding channel="1" ctl="26" uri="/route/solo B5"/>
39   <Binding channel="1" ctl="27" uri="/route/solo B6"/>
40   <Binding channel="1" ctl="28" uri="/route/solo B7"/>
41   <Binding channel="1" ctl="29" uri="/route/solo B8"/>
42
43 <!-- Switches 9 and 10 are mapped to bank changes. -->
44
45   <Binding channel="1" ctl="31" function="next-bank"/>
46   <Binding channel="1" ctl="30" function="prev-bank"/>
47
48 <!-- "Sound" and "Multi" buttons are mapped to show editor or mixer. -->
49
50   <Binding channel="1" ctl="118" action="Common/show-editor"/>
51   <Binding channel="1" ctl="119" action="Common/show-mixer"/>
52
53 <!-- Volume knob is mapped to selected track's gain. -->
54
55   <Binding channel="1" enc-b="7" uri="route/gain S1"/>
56
57 <!-- Loop switch. -->
58
59   <Binding msg="b0 37 7f" action="Transport/Loop"/>
60   <Binding msg="b0 37 00" action="Transport/Loop"/>
61
62 </ArdourMIDIBindings>