Hi Philippe,

> Many thanks in advance for your suggestions for improvement :-) !

I would separate the barline structure into its own variable, and use \bar "" 
instead of a tweak/override.

%%%%  SNIPPET BEGINS  %%%%
\version "2.22.0"
\language "english"

barlines = {
  \repeat unfold 2 { s2. \bar "" s2. }
  \bar "||"  \mark \markup { \musicglyph "scripts.segno" }
  \repeat unfold 3 { s2. \bar "" s2. }
}

global = {
  \key d \major
  \numericTimeSignature
  \time 3/4
  s2.*10
  \bar "|."
}

scoreATrumpetCI = \relative c''' {
  R2.*2 a2 r4 a2 r4 a,4 d e fs 8. g16 a4 b a2 r4 R2. r2 r4 R2.
}

scoreATrumpetCIPart = \new Staff
  <<
   \global
   \barlines
   \scoreATrumpetCI
   >>

\score {
  <<
    \scoreATrumpetCIPart
  >>
  \layout { }
}

%%%%  SNIPPET ENDS  %%%%

________________________________

Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: [email protected]


Reply via email to