<?xml version="1.0"?>
<Denemo>
  <merge>
    <title>A Denemo Keymap</title>
    <author>AT, JRR, RTS</author>
    <map>
      <row>
        <action>ChangeBreve</action>
        <scheme>;;;ChangeBreve
(d-SetBreve)
(if (Music?)
  (begin
	(if (Rest?) ; Test if its a note with a name or not, then its a rest
		(d-DirectivePut-chord-graphic "Duration" "rests_M1neomensural")  ;rest	
		(begin ;note
			(d-Change0) ; Change to a full note first to get rid of note-stems 
			(d-DirectivePut-chord-graphic "Duration" "noteheads_sM1neomensural")
		)	
	)
	(d-DirectivePut-chord-override "Duration" (logior DENEMO_OVERRIDE_GRAPHIC DENEMO_ALT_OVERRIDE))
	(d-DirectivePut-chord-prefix "Duration" "\\breve ")
	(d-SetDurationInTicks (* 2 1536))
	(d-RefreshDisplay)
  )
  #f ; not music
)</scheme>
        <label>Breve</label>
        <tooltip>Change current note duration to Breve</tooltip>
      </row>
    </map>
  </merge>
</Denemo>
