bug-lilypond
[Top][All Lists]
Advanced

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

Template A.4.1 String Quartet


From: Herbert Plass
Subject: Template A.4.1 String Quartet
Date: Thu, 25 Aug 2022 09:49:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

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 { }
}



reply via email to

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