<?xml version="1.0"?>
<Denemo>
  <merge>
    <title>A Denemo Keymap</title>
    <author>AT, JRR, RTS</author>
    <map>
      <row>
        <after/>
        <action>SetTransposeIntervalFromSelection</action>
        <scheme>;;;;;;; SetTransposeIntervalFromSelection
(if (d-GoToSelectionStart)
    (begin
      (set! Transpose::Interval (Transpose::get-interval-from-selection))
      ;;;FIXME error check this value
      (CreateButton "SetTransposeInterval" (string-append "Interval: " Transpose::Interval))
      (d-SetDirectiveTagActionScript "SetTransposeInterval" "(d-SetTransposeIntervalFromSelection)"))
      (d-WarningDialog "No Selection to set interval from"))
 </scheme>
        <label>Set Transpose Interval</label>
        <tooltip>Sets the interval for a transpose operation from the first two notes of the current selection.</tooltip>
      </row>
    </map>
  </merge>
</Denemo>
