Advertisement
phdemartin

Untitled

Jun 2nd, 2012
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ArdourMIDIBindings version="1.0.0" name="Korg nanoKONTROL2">
  3.  
  4. <!-- 2010-11-26 Chooch Schubert: Map file creation -->
  5. <DeviceInfo bank-size="8"/>
  6.  
  7. <!-- Transport Controls -->
  8. <Binding channel="1" ctl="45" function="rec-enable"/>
  9. <Binding channel="1" ctl="42" function="rec-disable"/>
  10. <Binding channel="1" ctl="41" function="transport-roll"/>
  11. <Binding channel="1" ctl="42" function="transport-stop"/>
  12. <Binding channel="1" ctl="43" function="transport-start"/>
  13. <Binding channel="1" ctl="44" function="transport-end"/>
  14. <Binding channel="1" ctl="46" function="loop-toggle"/>
  15.  
  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"/>
  34.  
  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.  
  44. <Binding channel="1" ctl="0" uri="/route/gain B2"/>
  45. <Binding channel="1" ctl="1" uri="/route/gain B3"/>
  46. <Binding channel="1" ctl="2" uri="/route/gain B4"/>
  47. <Binding channel="1" ctl="3" uri="/route/gain B5"/>
  48. <Binding channel="1" ctl="4" uri="/route/gain B6"/>
  49. <Binding channel="1" ctl="5" uri="/route/gain B7"/>
  50. <Binding channel="1" ctl="6" uri="/route/gain B8"/>
  51. <Binding channel="1" ctl="7" uri="/route/gain B9"/>
  52.  
  53.  
  54. <Binding channel="1" ctl="32" uri="/route/solo B2"/>
  55. <Binding channel="1" ctl="48" uri="/route/mute B2"/>
  56. <Binding channel="1" ctl="64" uri="/route/recenable B2"/>
  57. <Binding channel="1" ctl="33" uri="/route/solo B3"/>
  58. <Binding channel="1" ctl="49" uri="/route/mute B3"/>
  59. <Binding channel="1" ctl="65" uri="/route/recenable B3"/>
  60. <Binding channel="1" ctl="34" uri="/route/solo B4"/>
  61. <Binding channel="1" ctl="50" uri="/route/mute B4"/>
  62. <Binding channel="1" ctl="66" uri="/route/recenable B4"/>
  63. <Binding channel="1" ctl="35" uri="/route/solo B5"/>
  64. <Binding channel="1" ctl="51" uri="/route/mute B5"/>
  65. <Binding channel="1" ctl="67" uri="/route/recenable B5"/>
  66. <Binding channel="1" ctl="36" uri="/route/solo B6"/>
  67. <Binding channel="1" ctl="52" uri="/route/mute B6"/>
  68. <Binding channel="1" ctl="68" uri="/route/recenable B6"/>
  69. <Binding channel="1" ctl="37" uri="/route/solo B7"/>
  70. <Binding channel="1" ctl="53" uri="/route/mute B7"/>
  71. <Binding channel="1" ctl="69" uri="/route/recenable B7"/>
  72. <Binding channel="1" ctl="38" uri="/route/solo B8"/>
  73. <Binding channel="1" ctl="54" uri="/route/mute B8"/>
  74. <Binding channel="1" ctl="70" uri="/route/recenable B8"/>
  75. <Binding channel="1" ctl="39" uri="/route/solo B9"/>
  76. <Binding channel="1" ctl="55" uri="/route/mute B9"/>
  77. <Binding channel="1" ctl="71" uri="/route/recenable B9"/>
  78.  
  79. </ArdourMIDIBindings>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement