|
From: | Phil Holmes |
Subject: | Re: Mixing music and markup in Scheme |
Date: | Tue, 14 Jun 2016 11:25:13 +0100 |
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 theanswers 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 toplacement of accidentals. Sometimes they are conventionally placed to theleft of the note, and occasionally they are placed above the note, likemusica 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
[Prev in Thread] | Current Thread | [Next in Thread] |