lilypond-user
[Top][All Lists]
Advanced

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

Re: \accidentalStyle for common choir notation


From: Jonathan Scholbach
Subject: Re: \accidentalStyle for common choir notation
Date: Tue, 21 Jun 2016 14:53:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

Phil, you are right, it's about different Staffs. Thank you for clarifying.
 
At your other point: Well, I agree that the usage of the desired \accidentalStyle can be a matter of discussion. But it is a very common practice. And there are good arguments for using it (choirsingers often orientate - consciously or unconsciously - on the harmonies they are hearing in the other voices.). Anyway, my question was not about best practice of typesetting but about the realisation of a certain feature in LilyPond. I would be grateful, if we stuck to this original question.


Phil Holmes wrote:

What you're asking for is not adding a natural when there's a previous sharp in a different voice, but in a different staff.  As a long-time singer myself, I'd find that terribly confusing.  If the 2 voices are on the same staff, I could understand it.

--
Phil Holmes


On 21.06.2016 13:31, Jonathan Scholbach wrote:
Hi Ponders!

I would like to know how I can create my own \accidentalStyle
"Normally" notes of a certain voice are "naturalized" (written with a natural), when the same note had occured with an accident in the same bar (this is \accidentalStyle default in LilyPond). A different style additonally naturalizes notes, when the same note had occured with an accident in the antecedent bar of this certain voice. (this is \accidentalStyle modern in LilyPond)

I would like to create an \accidentalStyle which is very common in setting choir-music:
It shall naturalize accidentals that had taken place in the antecedent bar of any Voice in the same \StaffGroup (or \ChoirStaff, wich makes no big difference, I guess),

A tiny example demonstrating what I want is written below. In bar No. 2 the c of the Soprano is naturalized - due to \accidentalStyle normal. I want to behave the Alto voice in bar No. 4 analogously - i.e. as printed in the example, but without the need to write c! in the input of the alto voice.

Can someone please help me? I grubbed myself through the manuals and was still unable to find a way to write my own \accidentalStyle

Thank you!

Jonathan

\version "2.19.22"

soprano = \relative c'' {
 cis1
 c
 cis
 e
}

alto = \relative c'' {
  e1
  e
  e
  c!
}

\score {
  \new StaffGroup <<
    \new Staff <<
      \accidentalStyle modern
      \set Staff.instrumentName = "Soprano"
      \new Voice = "upper" { \soprano }
    >>
    \new Staff <<
      \accidentalStyle modern
      \set Staff.instrumentName = "Alto"
      \new Voice = "lower" { \alto }
    >>
  >>
}


reply via email to

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