The following MWE gave a warning

C:/Users/bk/AppData/Local/Temp/frescobaldi-n7fp9iem/tmp_isr57mt/document.ly:52:25:
Warnung: deprecated: missing `.' in property path StaffSymbol.staff-space

I think maybe the frescobaldi is not aware of changes to this lilypond
version. What do I have change to make the score compile without this
warning?

Kind regards

Bernhard


\override StaffSymbol

#'staff-space = #(magstep -1)


\version "2.25.7"
\language  "deutsch"

global = {
  \key b \major
  \time 2/2
}

soprano = \relative c' {
  \global
    f1
}

alto = \relative c' {
  \global
    b1|
}

tenor = \relative c' {
  \global
    b1
}

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

sopranoVerse = \lyricmode {
  % Liedtext folgt hier.
  O mag -- num
}

altoVerse = \lyricmode {
  % Liedtext folgt hier.
  O mag -- num
}

tenorVerse = \lyricmode {
  % Liedtext folgt hier.
  O mag -- num
}

bassVerse = \lyricmode {
  % Liedtext folgt hier.
  O mag -- num
}

pianoReduction = \new PianoStaff \with {
  fontSize = #-1
\override StaffSymbol #'staff-space = #(magstep -1)
} <<
  \new Staff \with {
    \consists "Mark_engraver"
    \consists "Metronome_mark_engraver"
    \remove "Staff_performer"
  } {
    #(set-accidental-style 'piano)
    <<
      \soprano \\
      \alto
    >>
  }
  \new Staff \with {
    \remove "Staff_performer"
  } {
    \clef bass
    #(set-accidental-style 'piano)
    <<
      \tenor \\
      \bass
    >>
  }
>>

\score {
  <<
    \new ChoirStaff <<
      \new Staff \with {
        midiInstrument = "choir aahs"
      } { \soprano }
      \addlyrics { \sopranoVerse }
      \new Staff \with {
        midiInstrument = "choir aahs"
      } { \alto }
      \addlyrics { \altoVerse }
      \new Staff \with {
        midiInstrument = "choir aahs"
      } { \clef "treble_8" \tenor }
      \addlyrics { \tenorVerse }
      \new Staff \with {
        midiInstrument = "choir aahs"
      } { \clef bass \bass }
      \addlyrics { \bassVerse }
    >>
    \pianoReduction
  >>
  \layout { }
  \midi {
    \tempo 4=100
  }
}

Reply via email to