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: David Kastrup
Subject: Re: Mixing music and markup in Scheme
Date: Tue, 14 Jun 2016 11:53:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

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

reply via email to

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