Even easier:
Just change the note head directly:
% ------------------------------------------------------------
\version "2.19.53"
\language "english"
hold = #(define-music-function (note) (ly:music?)
#{
\once \override NoteHead.duration-log = #1
$note
#})
global = { \key c \major \omit Stem \set Score.timing = ##f }
music = { \hold b-flat'^\markup {Cantor} a' g' f' \bar "|" }
\new Staff \with {
\remove "Time_signature_engraver" } {
\new Voice = "mel" {\voiceOne \global \music}
}
% ------------------------------------------------------------
Cheers,
Klaus
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Music-functions-and-markup-tp198287p198298.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user