Peter,

 

The treble clef and the C are the cause.

Are they necessary?

Might some pitches be between them and the bass clef and 6/8?

 

Mark

 

From: lilypond-user [mailto:lilypond-user-boun...@gnu.org] On Behalf Of Peter 
Mitton
Sent: Thursday, October 27, 2022 2:18 AM
To: Thomas Morley <thomasmorle...@gmail.com>
Cc: lilypond-user@gnu.org
Subject: Re: Appoggiatura in bass clef at start of piece

 

Thanks, Harm,

 

Sorry, I seemed to have missed out the most important part of the challenge! 
Apologies. This is a simplified extract of the lower staff from the start of a 
two staff piano arrangement that requires 4 voices.

 

It’s the addition of the second voice that causes the additional treble clef to 
appear,  with a single voice there is no problem. But when you add a second… 

 

\version "2.22.2"

 

\new Staff {

  <<

    \time 6/8

    \clef bass

    \new Voice = "a" {

      \voiceFour           

                                %\time 6/8 \clef bass

      \appoggiatura c,8 c2. \appoggiatura c,8 c2.

    }

    \new Voice = "b" {

      \voiceThree

      \grace s8  e2. \grace s8 e2.

    }

  >>

}

 

It renders as the attached file.

 



 

Which is not what I expect or want. Even an empty second voice with no notes 
also displays the extra clef and ledger lines and misplaces the grace note 
before the time signature. 

 

The documentation on Grace notes 
<https://lilypond.org/doc/v2.22/Documentation/notation/special-rhythmic-concerns#grace-notes>
  says "Grace note synchronization can also lead to surprises. Staff notation, 
such as key signatures, bar lines, etc., are also synchronized. “ which I take 
as developer-speak for “Here be dragons”.

 

Thanks for any assistance,

 

Pete

 

On 26 Oct 2022, at 22:53, Thomas Morley <thomasmorle...@gmail.com 
<mailto:thomasmorle...@gmail.com> > wrote:

 

Am Mi., 26. Okt. 2022 um 19:27 Uhr schrieb Peter Mitton <petemit...@me.com 
<mailto:petemit...@me.com> >:




Hi,

I’m wondering if there is a better way of writing this code:

\version "2.22.2"

\new Staff {
 <<
                               % \time 6/8
                               % \clef bass
   \new Voice = "a" {
     \voiceFour
     \time 6/8 \clef bass \appoggiatura c,8 c1 \appoggiatura c,8 c1
   }
   \new Voice = "b" {
     \voiceThree
     \grace s8  e1 \grace s8 e1
   }



 

}

This is the only place I’ve found where I can place the bass clef without an 
additional treble clef appearing before the first appoggiatura (with multiple 
ledger lines).

Similarly this is the only place I’ve found where I can place the time 
signature where it doesn’t appear after the first appoggiatura.

The second appogggiatura works without problem wherever I declare the rhythm or 
clef (e.g. in the above commented section or in a global)

I’m sure I’m missing something simple, but any suggested improvements would be 
most appreciated.

Many thanks,

Pete


Well, you could do:

\new Staff {
 \time 6/8
 \clef bass
 <<
   \new Voice = "a" {
     \voiceFour
     \appoggiatura c,8 c1 \appoggiatura c,8 c1
   }
   \new Voice = "b" {
     \voiceThree
     \grace s8  e1 \grace s8 e1
   }



 

}

Why two Voices, though? Below works as well:

\new Voice = "a" {
 \voiceFour
 \time 6/8 \clef bass
 \appoggiatura c,8 <c e>1 \appoggiatura c,8 <c e>1
}

Btw, you're aware c1 exceeds 6/8-time?

Cheers,
 Harm

 

Reply via email to