Your angle brackets don't balance: you need to add >> before the last line, to close the \new ChoirStaff construct.

It seems you might be using Frescobaldi; I use the code folding feature religiously to find this sort of problem. I highlight each opening brace or bracket, and look to see that the closing one lights up. I also use the code formatting function, to keep my indents consistent, and easy to follow.

Cheers,

Colin

On 2026-09-17 11:03, Bernhard Kleine wrote:
I added a dynamics line to the score of the last mail. and I could get it right.

finally I got this, which rever compiled since i misses the final "}" , but when I add a brace it complains about a brace at the end. What is wrong?



\version "2.25.7"
\language "deutsch"

\header {
  title = "Herr, führ uns"
  instrument = "vierstimmiger Chor SATB"
  composer = "Satz: Walter Rodby"
  tagline = "Bernhard Kleine für Kirchenchöre St. Nikolaus"
}

\paper {
  #(set-paper-size "a4")
}

global = {
  \key des \major
  \numericTimeSignature
  \time 4/4
  \partial 4
  \tempo "ruhig, mit Ausdruck"
}

soprano = \relative c'' {
  \global
  % Die Noten folgen hier.
   \repeat volta 2 { as4 | as1 | b4 as2 \breathe f4 | f1 | ges4 f2 \breathe f8 f | ges4 ges ges ges |   ges f2 as8 as | as4 as b g! | as2. \breathe as4 | c b as ges | ges4. f8 f4 as| b2 (es,2) |es2. \breathe es4
  f2 f2 f2. f4 ges2 ges | f2. h4\rest }
  \alternative {
    {b1 | as2. as4| ges1| f2. }
    { f2 (ges4 as) }
  }
  b1 | ges2 (c4 des) | es1  f2 (es4 des | c b) as2 | ges1 | f1 \bar "|."

}

alto = \relative c' {
  \global
  % Die Noten folgen hier.
  \repeat volta 2 { f4 | f1 |ges4 f2 des4 | des1 | des4 des2 des8 des |  es4 c4 des es |des4 des2 f8 f |es4 es es es | es2. c4|   c c c c | des4. des8 des4 des | des2 ~ des | c2. c4 des2 des | des2. d4 | es2 c2 | des2. s4 }

  \alternative {
    { des1 | des2. d4 | des2 (c) | des2. }
    { R1 }
  }
  des2 (es4 f) | f2. (des4)| es2 (b'4 as) | as2 (ges4 f) |es2 f | des (c) | des1
}


tenor = \relative c' {
  \global
  % Die Noten folgen hier.

}

bass = \relative c {
  \global
  % Die Noten folgen hier.

}

verse = \lyricmode {
  % Liedtext folgt hier.
  O Herr, führ uns, O Herr schütz uns, mach uns wür -- dig dei -- ner Gna -- de,
  sei uns gnä -- dig, gros -- ser Gott!
  Drei -- ein'-- ger Gott, wir lo -- ben dich und bit -- ten: Gib Frie -- den uns, gib Frie -- den, Herr!
  A -- men, ja A -- men. A -- men, A -- men, A -- men, A -- men.
}

Sopranodyn = { s4 \< s1 s8 s8 \> s2 \! s4 s1 s2. s8 \p s8 s1 s4 s2 \< s4 s2 s8 s8 \> s4 s2 s4\! s4\mp
}

\score {
  \new ChoirStaff <<
    \new Staff \with {
      midiInstrument = "choir aahs"
    } <<
      \new Voice = "sopran" { \voiceOne \soprano }

      \new Dynamics \with { alignAboveContext = "sopran" } { \Sopranodyn }
    \new Voice = "alto" { \voiceTwo \alto }

        \new Lyrics \with { \override VerticalAxisGroup .#'staff-affinity = #CENTER }
           \lyricsto "Sopran" \verse
     <<
      \clef bass
      \new Voice = "tenor" { \voiceOne \tenor }
      \new Voice = "bass" { \voiceTwo \bass }
    >>
  >>


  }


Reply via email to