it should read

"and I could not get it right and compile"

sorry

Am 17.09.2026 um 19:40 schrieb Knute Snortum:
On Thu, Sep 17, 2026 at 10:07 AM Bernhard Kleine <[email protected]> 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?


I found two problems.  First, you were missing a ">>" near the end of the score.  Second, the context "Sopran" should be "sopran".

Your formatting is terrible, which is one reason you can't see problems like this.  If you use Frescobaldi, go to Tools -> Code Formating -> Format to format your code.

%%%
\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 % <-- lowercase
      <<
        \clef bass
        \new Voice = "tenor" { \voiceOne \tenor }
        \new Voice = "bass" { \voiceTwo \bass }
      >>
    >>
  >> % <-- this was missing
}
%%%

--
Knute Snortum

--
Bernhard Kleine

Reply via email to