Kenneth, 1) Move Tempo to rh_one; 2) Change all "grace" to "acciaccatura". See attachment.
Mark -----Original Message----- From: lilypond-user-bounces+carsonmark=ca.rr....@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org] On Behalf Of Kenneth Wolcott Sent: Tuesday, February 21, 2023 12:34 PM To: Leo Correia de Verdier <leo.correia.de.verd...@gmail.com> Cc: Lily Pond <lilypond-user@gnu.org> Subject: Re: spurious second treble clef sign, what did I do wrong this time? Hi Leo; Thanks again for your help. I have the "\grace s8." now in all three of the voices that do not have the "\acciaccatura", yet the problem persists. I'm not sure how I would insert the "\grace s8." into my \global variable. I'm sure that is obvious, but I don't grok it. I have attached my current Lilypond source, pdf output from Lilypond and the original pdf file. Thanks, Ken On Tue, Feb 21, 2023 at 1:36 AM Leo Correia de Verdier <leo.correia.de.verd...@gmail.com> wrote: > > Now that I am at the computer and have seen the .ly file I would recommend > having them in the \global variable. (As you inferred, but just to be clear > for anyone else reading this thread, it should be \grace s8. in my first mail > in this thread). > > > 21 feb. 2023 kl. 10:03 skrev Leo Correia de Verdier > > <leo.correia.de.verd...@gmail.com>: > > > > It’s needed in any voice that contains a \clef \time , \mark or anything > > such. > > > >> 21 feb. 2023 kl. 08:58 skrev Kenneth Wolcott <kennethwolc...@gmail.com>: > >> > >> Thank you, Leo. > >> > >> I already had "\grace {s16*3} s1" in the second lh voice, > >> apparently needed in the the second rh voice? > >> > >> Thanks, > >> Ken > >> > >>> On Mon, Feb 20, 2023 at 11:42 PM Leo Correia de Verdier > >>> <leo.correia.de.verd...@gmail.com> wrote: > >>> > >>> I haven’t been able to open your .ly file since I’m on the telephone, > >>> but that should be an issue 34. Add s8. right after the clef and time > >>> signature in the right hand, so that the grace note timing matches > >>> between the different staves and voices and the extra clefs and time > >>> signatures will disappear. > >>> > >>> HTH > >>> /Leo > >>> > >>>>> 21 feb. 2023 kl. 08:33 skrev Kenneth Wolcott <kennethwolc...@gmail.com>: > >>>> > >>>> Hi; > >>>> > >>>> I'm engraving a piece of music arranged for Piano that (later) > >>>> has polyphony in the right hand and left hand. > >>>> > >>>> This is Lilypond 2.24.1 on MacOS. > >>>> > >>>> There is a spurious second treble clef (and spurious time > >>>> signature) in the first bar of the right hand (upper) staff. > >>>> > >>>> What am I doing wrong that causes this? > >>>> > >>>> I am attaching the example pdf which I am engraving from, my > >>>> Lilypond source and the pdf Lilypond creates. > >>>> > >>>> Thanks, > >>>> Ken Wolcott > >>>> <marcheslavePNO.pdf> > >>>> <Marche_Slav.ly> > >>>> <Marche_Slav.pdf> >
\version "2.24.1" % Tchaikovsky: Marche Slave \header { title = "Marche Slave" composer = "Tchaikovsky" arranger = "from 8notes.com" } global = { \language "english" \time 4/4 \key c \major } \paper { ragged-last-bottom = ##f markup-system-spacing.padding = 3 } \layout { system-count = 4 } % mBreak = { \break } mBreak = { } rh_one = { \global \clef treble \tempo "Moderato in modo di marcia funebre" \acciaccatura { s8. } R1 | % m01 R1 | % m02 R1 | % m03 R1 | % m04 e'2 ds'4(c'8 b) | % m05 \bar "|." } rh_two = { \global \clef treble \acciaccatura { s8. } s1 | % m01 s1 | % m02 s1 | % m03 \bar "|." } piano_dynamics = { \global s8\pp s2. s8 | % m01 s1 | % m02 s1 | % m03 s1 | % m04 s1 | % m05 } lh_one = { \global \clef bass \acciaccatura { e,16 fs, gs, } \repeat tremolo 8 { a,32 a,, } a,8 r r4 | % m01 \acciaccatura { e,16 fs, gs, } \repeat tremolo 8 { a,32 a,, } a,8 r r4 | % m02 \acciaccatura { e,16 fs, gs, } <a, a,,>4 q q q | % m03 \acciaccatura { e,16 fs, gs, } <a, a,,>4 q q q | % m04 <a, c e>4 q <a, c fs> <a, b, e gs> | % m05 \bar "|." } lh_two = { \global \clef bass \acciaccatura { s8. } s1 | % m01 s1 | % m02 s1 | % m03 s1 | % m04 s1 | % m05 \bar "|." } \score { \new PianoStaff \with { instrumentName = "Piano" } << \new Staff << \new Voice = "1" { \voiceOne \rh_one } \new Voice = "2" { \voiceTwo \rh_two } >> \new Dynamics \piano_dynamics \new Staff << \new Voice = "1" { \voiceOne \lh_one } \new Voice = "2" { \voiceTwo \lh_two } >> >> \layout {} } \score { << \new Staff << \set Staff.midiInstrument = "acoustic grand" \set Staff.midiExpression=#0.6 \new Voice = "1" { \voiceOne \rh_one } \new Voice = "2" { \voiceTwo \rh_two } >> \new Dynamics \piano_dynamics \new Staff << \set Staff.midiInstrument = "acoustic grand" \set Staff.midiExpression=#0.6 \new Voice = "1" { \voiceOne \lh_one } \new Voice = "2" { \voiceTwo \lh_two } >> >> \midi { \tempo 4=110 } }