<?xml version="1.0" encoding="UTF-8"?>
<ArdourMIDIBindings version="1.0.0" name="M-Audio Oxygen 49">
<!-- 2015 05 26 Erik Deroo: Map file creation -->
<!-- Auto-map should be ON -->

<!-- Transport controls -->
  <Binding msg="bf 71 7f"         function="loop-toggle"/>
  <Binding msg="bf 72 7f"         action="Transport/Rewind"/>
  <Binding msg="bf 73 7f"         action="Transport/Forward"/>
  <Binding msg="bf 74 7f"         function="transport-stop"/>
  <Binding msg="bf 75 7f"         function="transport-roll"/>
  <Binding msg="bf 76 7f"         action="Transport/record-roll"/>
  
<!-- Gain controls. Faders are mapped to faders. -->  
  <Binding channel="16" ctl="33" uri="/route/gain 1"/>
  <Binding channel="16" ctl="34" uri="/route/gain 2"/>
  <Binding channel="16" ctl="35" uri="/route/gain 3"/>
  <Binding channel="16" ctl="36" uri="/route/gain 4"/>
  <Binding channel="16" ctl="37" uri="/route/gain 5"/>
  <Binding channel="16" ctl="38" uri="/route/gain 6"/>
  <Binding channel="16" ctl="39" uri="/route/gain 7"/>
  <Binding channel="16" ctl="40" uri="/route/gain 8"/>
  <Binding channel="16" ctl="41" uri="/bus/gain master"/>

<!-- Pan controls. Encoders are mapped to pan direction. -->
  <Binding channel="16" ctl="21" uri="/route/pandirection 1"/>
  <Binding channel="16" ctl="22" uri="/route/pandirection 2"/>
  <Binding channel="16" ctl="23" uri="/route/pandirection 3"/>
  <Binding channel="16" ctl="24" uri="/route/pandirection 4"/>
  <Binding channel="16" ctl="25" uri="/route/pandirection 5"/>
  <Binding channel="16" ctl="26" uri="/route/pandirection 6"/>
  <Binding channel="16" ctl="27" uri="/route/pandirection 7"/>
  <Binding channel="16" ctl="28" uri="/route/pandirection 8"/>
  
<!-- Status controls -->
<!-- Status buttons are mapped to solo toggles.  -->

  <Binding channel="16" ctl="49" uri="/route/solo 1"/>
  <Binding channel="16" ctl="50" uri="/route/solo 2"/>
  <Binding channel="16" ctl="51" uri="/route/solo 3"/>
  <Binding channel="16" ctl="52" uri="/route/solo 4"/>
  <Binding channel="16" ctl="53" uri="/route/solo 5"/>
  <Binding channel="16" ctl="54" uri="/route/solo 6"/>
  <Binding channel="16" ctl="55" uri="/route/solo 7"/>
  <Binding channel="16" ctl="56" uri="/route/solo 8"/>
  <Binding channel="16" ctl="57" uri="/bus/mute master"/>"
  
</ArdourMIDIBindings>

