Template A.4.1 String Quartet

Herbert Plass <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
Hi

The template given in Learning Manual will not work with \grace at the 
beginning of a score and after repetition.

\global must not be in the \score part but in the individual voices.
Furthermore the \grace sequence must appear in all! voices. If there is 
no grace an a voice, it has to be simulated with "s" instead of a pitch.

Below my example

Kind regards
Herbert
Bad Ischl Austria

\header {
   \version "2.22.2"
}

global= {
   \time 3/4
   \key f \major
}

violinOne = \new Voice \relative c'' {
   \global
   \partial 8 \grace{d16 f} c8 d e16 f d4 c
   \bar "|."
}

violinTwo = \new Voice \relative c'' {
    \global
   \partial 8 \grace{s16 a} g8  c2.
   \bar "|."
}

viola = \new Voice \relative c' {
   \global
   \clef alto
   \partial 8 \grace{bes16 a} e8 d4 d d
   \bar "|."
}

cello = \new Voice \relative c' {
   \global
   \clef bass
   \partial 8 \acciaccatura {a16 c} c8 a b4 c8 b4
   \bar "|."
}

\score {
   \new StaffGroup <<
     \new Staff \with { instrumentName = "Violin 1"}
     << \violinOne>>
     \new Staff
     << \violinTwo >>
     \new Staff
     << \viola >>
     \new Staff
     << \cello >>
   >>
   \layout { }
   \midi { }
}

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.