----- Original Message ----- From: "David Kastrup" <d...@gnu.org>
To: "Phil Holmes" <m...@philholmes.net>
Cc: <lilypond-devel@gnu.org>
Sent: Tuesday, June 14, 2016 10:53 AM
Subject: Re: Mixing music and markup in Scheme


Phil Holmes <m...@philholmes.net> 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

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to