lilypond-devel
[Top][All Lists]
Advanced

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

Re: Mixing music and markup in Scheme


From: Phil Holmes
Subject: Re: Mixing music and markup in Scheme
Date: Tue, 14 Jun 2016 11:25:13 +0100

----- Original Message ----- From: "David Kastrup" <address@hidden>
To: "Phil Holmes" <address@hidden>
Cc: <address@hidden>
Sent: Tuesday, June 14, 2016 10:53 AM
Subject: Re: Mixing music and markup in Scheme


Phil Holmes <address@hidden> writes:

Yet another question about Scheme functions (note - I _do_ try to find the
answers to my questions by reading the manual and experimenting, and have
been looking at this for a couple of hours without success).

Background: Renaissance music has a somewhat cavalier attitude to
placement of accidentals. Sometimes they are conventionally placed to the
left of the note, and occasionally they are placed above the note, like
musica ficta in modern transcriptions. If I use \set suggestAccidentals =
##t in Mensural music, I get a modern accidental sign, so this doesn't
help setting these.  A long-hand way of getting this effect is:

Ugh.

Being cleverer than LilyPond rarely pays off.




--------------------------------------------------------------------------------


mus = \relative c''
{ c4 d e \once \set suggestAccidentals = ##t fis
}

\score {
\new MensuralStaff \with { \override AccidentalSuggestion.glyph-name-alist =
     #alteration-mensural-glyph-name-alist }
   {
     \new MensuralVoice { \mus }
   }
}



--------------------------------------------------------------------------------




--
David Kastrup


Excellent, as always.  Thanks.

--
Phil Holmes



reply via email to

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