4 texidoc
= "Music functions are generic music transformation functions,
5 which can be used to extend music syntax seamlessly. Here we
6 demonstrate a @code{\myBar} function, which works similar to
7 @code{\bar}, but is implemented completely in Scheme."
12 myBar
= #(define-music-function
(parser location bar-type
) (string?
)
14 (context-spec-music
(make-property-set
'whichBar bar-type
) 'Timing
)
17 \layout { ragged-right
= ##t
}