<?xml version="1.0" encoding="UTF-8"?>
<ArdourMIDIBindings version="1.0.0" name="AKAI MPKmini">

<!-- MMC MIDI Mapping for Akai MPKmini -->
<!-- 2015-01-23 Robert Schneider (robert.schneider@aramar.de) -->

<!-- This is the preset that you need to send to your MPKmini. Just save the numbers in an ordinary text file and upload them with MPK MINI Editor -->
<!-- 240 71 127 124 97 0 102 4 15 15 4 12 0 4 5 0 0 3 0 120 0 1 1 1 0 2 2 2 0 3 3 3 0 4 4 4 0 5 5 5 0 6 6 6 0 7 7 7 0 8 8 8 0 9 9 9 0 10 10 10 1 11 11 11 0 12 12 12 0 13 13 13 0 14 14 14 0 15 15 15 0 16 16 16 0 5 0 127 6 0 127 7 0 127 8 0 127 1 0 127 2 0 127 3 0 127 4 0 127 247 -->
<!-- It will map pads and knobs to channel 16 -->
<!-- Press the "PROG CHANGE" button to switch pads into PGM mode -->

	<DeviceInfo bank-size="6" motorised="no"/>

<!-- Knobs mapped to Ardour Faders - Control Bank A  -->

	<Binding channel="16" ctl="1" uri="/bus/gain master"/>
	<Binding channel="16" ctl="5" uri="/bus/panwidth master"/>

	<Binding channel="16" ctl="2" uri="/route/gain B1"/>
	<Binding channel="16" ctl="3" uri="/route/gain B2"/>
	<Binding channel="16" ctl="4" uri="/route/gain B3"/>
	<Binding channel="16" ctl="6" uri="/route/gain B4"/>
	<Binding channel="16" ctl="7" uri="/route/gain B5"/>
	<Binding channel="16" ctl="8" uri="/route/gain B6"/>

<!-- Assign pgm change 0 - 16 to the PAD 1 to PAD 8 with two banks -->

	<Binding channel="16" pgm="1" action="Transport/ToggleRollForgetCapture"/>	<!-- stop and forget REC -->
	<Binding channel="16" pgm="2" function="transport-roll"/>					<!-- PLAY -->
	<Binding channel="16" pgm="3" function="transport-stop"/>					<!-- STOP -->
	<Binding channel="16" pgm="4" function="toggle-rec-enable"/>				<!-- REC -->

	<Binding channel="16" pgm="5" action="Transport/Rewind"/>					<!-- REWD -->
	<Binding channel="16" pgm="6" action="Common/jump-backward-to-mark"/> 		<!-- BACK -->
	<Binding channel="16" pgm="7" action="Common/jump-forward-to-mark"/> 		<!-- NEXT -->
	<Binding channel="16" pgm="8" action="Transport/Forward"/>					<!-- FFWD -->

	<Binding channel="16" pgm="9" action="Editor/remove-last-capture"/>			<!-- Remove last capture -->
	<Binding channel="16" pgm="10" action="Common/jump-backward-to-mark"/>		<!--  -->
	<Binding channel="16" pgm="11" action="Common/jump-backward-to-mark"/>		<!--  -->
	<Binding channel="16" pgm="12" function="prev-bank"/>						<!-- Previous bank -->

	<Binding channel="16" pgm="13" action="Editor/remove-last-capture"/>		<!-- Remove last capture -->
	<Binding channel="16" pgm="14" action="Editor/playhead-to-edit"/>			<!--  -->
	<Binding channel="16" pgm="15" action="Common/jump-forward-to-mark"/>		<!--  -->
	<Binding channel="16" pgm="16" function="next-bank"/>						<!-- Next bank -->

</ArdourMIDIBindings>

