lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Music functions and markup


From: Klaus Blum
Subject: Re: Music functions and markup
Date: Wed, 21 Dec 2016 10:53:34 -0700 (MST)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]