lilypond-user
[Top][All Lists]
Advanced

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

Re: Avoid accidentals in cadenza


From: Mason Hock
Subject: Re: Avoid accidentals in cadenza
Date: Sun, 7 Oct 2018 10:01:22 -0700
User-agent: NeoMutt/20180716-346-437793-dirty

On 10/07, Helge Kruse wrote:
> I am trying to typeset the Fantasia (op.35) of Louis Spohr.
> (http://ks.imslp.net/files/imglnks/usimg/0/01/IMSLP164842-PMLP294545-SpohrOp35edHoly.pdf)
> 
> 
> There is a cadenza starting at page 8 (excerpt attached) with a lot of
> tight notes. I would like to avoid spreading the nodes over more lines
> than in the original because this would affect the flow and understanding.
> 
> I nearly managed to enter the notes. But there are accidentals in the
> second lines that are not necessary. How can I avoid them?

Does this

\override Voice.Accidental.stencil = ##f
% music that doesn't need accidentals
\override Voice.Accidental.stencil = ##t

work for you?

> \version "2.19.65"
> \language "deutsch"
> 
> global = {
>   \key es \major
>   \tiny
> }
> 
> staffUpper = { \change Staff="upper" }
> staffLower = { \change Staff="lower" }
> 
> upper = \relative c'' {
>   \global
>   \cadenzaOn
>   s4*7 -\tweak #'stencil #(ly:make-stencil '() '(0 . 0.1) `(0 . ,4) ) _""
>   |
>   s8*7
>   |
>   \tiny
>   s4 s16
>   ces,16[ es ges]
>   ces[ ges es ces]
>   ces'[ ges es ces]
>   ces'[ ges es ces]
>   ces'[ ges es ces]
>   r ces[ es ges]
>   ces[ ges es ces]
>   s1.. s16
>   \cadenzaOff
> }
> 
> lower = \relative c {
>   \global
>   \cadenzaOn
> 
>   \clef "bass" f,8 \f [ as16 h ] d f[ as h]
>   \staffUpper d f[ as h] d \stemUp f16[ as h]  d[ h as f]
>   \stemDown d[ h as f] \stemNeutral
>   d[ \staffLower h as f]
>   % No line break here. Let's keep it like the IMSP version.
>   %\bar "" \break
> 
>   f,16 \pp [ as32 h! ] d \stemUp f[ as h]
>   \staffUpper d f[ as h!] d \stemUp f[ as h!]  d[ h as f]
>   \stemDown d[ h! as f] \stemUp
>   d[ \staffLower h as f]
>   \bar "" \break
> 
>   % second line
>   ges,8[ ces16 es] ges  s4 \clef treble es''4 ges ces es2.
>   % No line break here. Let's keep it like the IMSP version.
>   %\bar "" \break
>   \clef bass
> 
>   g,,,,8[\f b16 des]          % avoid b accidental
>   e[ g b  \staffUpper des]    % avoid g,b accidental
>   e g[ b des] e g[ b des]     % avoid b accidental
>   e[ des b g]
>   es[ des b g]                        % avoid g accidental
>   f[ des \staffLower b ges]
>   \bar "" \break
> 
>   \cadenzaOff
> }
> 
> \score {
>   \new PianoStaff <<
>     \new Staff = "upper" \upper
>     \new Staff = "lower" { \clef bass \lower }
>   >>
>   \layout { }
> }
> 
> In the second line all B notes are flat and in the second half of that
> line all G notes are natural.
> 
> Best regards
> Helge


> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

Attachment: signature.asc
Description: PGP signature


reply via email to

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