Thanks. 

Appreciate the help

-----Original Message-----
From: lilypond-user-bounces+richard=oneill-griffiths....@gnu.org 
<lilypond-user-bounces+richard=oneill-griffiths....@gnu.org> On Behalf Of Mats 
Bengtsson
Sent: Wednesday, April 17, 2024 1:20 PM
To: lilypond-user@gnu.org; rich...@oneill-griffiths.net
Subject: Re: Horizontal note spacing in chant template


On 2024-04-17 12:45, rich...@oneill-griffiths.net wrote:
>
> Hi, I’ve been using the Anglican chant template to set items for our 
> choir and I’ve just a note spacing problem with one chant (Walford
> Davies) last quarter.
>
> How do I address the note spacing for the B/C clash in the 3^rd bar?
>
> Now if there’s also an easier way to show that voice split in the 
> tenor part, I’d appreciate it.
>
> Thanks
>
> Richard Griffiths
>
> \version "2.24.0"
>
> \language "english"
>
> global = {
>
> \key c \minor
>
> s1*4 \bar "|."
>
> }
>
> TenorMusic = \relative {
>
> g1 af2 c2 c2
>
> \new Voice = "melody" {
>
> <<
>
> \new Voice {
>
> \voiceTwo
>
> \stemUp
>
> bf4 af4 g1
>
> }
>
> {
>
> \voiceOne
>
> c2 c1
>
> }
>
> >>
>
> }
>
> }
>
> BassMusic= \relative {
>
> af,1 df2 c2 f2 bf,2 ef1
>
> }
>
> \markup {
>
> \fill-line {
>
> \score {
>
> <<
>
> \new ChoirStaff <<
>
> \new Staff <<
>
> \clef "bass"
>
> \global
>
> \new Voice = "Tenor" <<
>
> \voiceOne
>
> \TenorMusic
>
> >>
>
> \new Voice = "Bass" <<
>
> \voiceTwo
>
> \BassMusic
>
> >>
>
> >>
>
> >>
>
> >>
>
> \layout {
>
> \context {
>
> \Score
>
> fineBarType = "||"
>
> }
>
> \context {
>
> \Staff
>
> \remove Time_signature_engraver
>
> }
>
> }
>
> }
>
> }
>
> }
>
Why not use \voiceThree and/or \voiceFour, see 
https://lilypond.org/doc/v2.24/Documentation/learning/i_0027m-hearing-voices. 
In other words, replace your definition of TenorMusic by

TenorMusic = \relative {
   g1 af2 c2 c2
   \new Voice = "melody" {
     <<
       \new Voice {
         \voiceThree
         bf4 af4 g1
       }
       {
         \voiceOne
         c2 c1
       }
     >>
   }
}

     /Mats



Reply via email to