1\version "2.21.3" 2 3\header { 4 texidoc = "When an unpitched duration is parsed as a rhythmic event, 5it sets the default duration of the following note events. This happens 6even when it is the argument of a music function. In these examples, notes 7with an explicit duration are indicated with an accent and the following notes 8have to have the same duration." 9} 10 11\layout { 12 ragged-right = ##t 13} 14 15 16same = 17#(define-music-function (x) (ly:music?) 18 #{ #x -! #}) 19 20 21\fixed c' { 2-! c \same c4 c \same 2 c c \bar "|." | } 22