lilypond-user
[Top][All Lists]
Advanced

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

Re: Cadenza -- I'm missing something


From: Jean Abou Samra
Subject: Re: Cadenza -- I'm missing something
Date: Mon, 16 Aug 2021 09:55:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Le 16/08/2021 à 08:06, Mark Probert a écrit :
Hi.

I don't understand why I am seeing the behaviour I have with the
snippet below. I would expect to see the section marked "G Phrygian" to
have the aes bes and ees marked, but they are not (obviously you are
meant to read them from the earlier bar). How can I force them to show?

TIA .. mark.

%--
\version "2.22"

tune = \relative c'' {
   \mark "C Dorian"
   \cadenzaOn
   c,1 d1 ees1 f1 g1 a1 bes1 c1 \bar "||"
   \break
   \cadenzaOff
   \mark "A-flat Lydian"
   \cadenzaOn
   aes1 bes1 c1 d1 ees1 f1 g1 aes1 \bar "||"
   \break
   \cadenzaOff
   \mark "G Phrygian"
   \cadenzaOn
   g,1 aes1 bes1 c1 d1 ees1 f1 g1 \bar "||"
   \break
   \cadenzaOff
}
\score {
   <<
     \new Staff \tune
   >>
}
%--


In \cadenzaOn, accidentals are never reset. The
cadenza is considered one measure of its own.
Your \cadenzaOff sections are not enough to change
that because they have zero duration, so there
is no point of time where LilyPond would notice
that you switched back to \cadenzaOff.

You could add \accidentalStyle forget, to make the
notes independent instead of removing alterations
when they are already on a previous note of the
same bar.

\version "2.23.4"

\relative c'' {
  \accidentalStyle forget
  \mark "C Dorian"
  \cadenzaOn
  c,1 d1 ees1 f1 g1 a1 bes1 c1
  \bar "||"
  \break
  \mark "A-flat Lydian"
  aes1 bes1 c1 d1 ees1 f1 g1 aes1
  \bar "||"
  \break
  \mark "G Phrygian"
  \cadenzaOn
  g,1 aes1 bes1 c1 d1 ees1 f1 g1
  \bar "||"
  \break
}

Please see

http://lilypond.org/doc/v2.23/Documentation/notation/displaying-pitches#automatic-accidentals

Best,
Jean




reply via email to

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