Deutschsprachiges LilyPond-Forum

Allgemeine Fragen und Probleme => Fragen und Probleme aller Art => Thema gestartet von: rgree am Donnerstag, 18. April 2024, 10:59

Titel: \note klappt nicht
Beitrag von: rgree am Donnerstag, 18. April 2024, 10:59
Hallo,

dieses direkt aus dem Handbuch kopierte Beispiel mit \note funktioniert nicht,
d.h. es erscheint der Fehler :

error: syntax error, unexpected '{'
    \smaller \general-align #Y #DOWN \note
                                           {16.} #1


\version "2.20.0"
\relative c' {
 \tempo \markup {
  \concat {
   (
    \smaller \general-align #Y #DOWN \note {16.} #1
    " = "
    \smaller \general-align #Y #DOWN \note {8} #1
   )
  }
 }
c1
c4 c' c,2
}

Kann wer helfen ?

Gruß,
Reinhard
Titel: Antw:\note klappt nicht
Beitrag von: amateur am Donnerstag, 18. April 2024, 11:19
Vielleicht die Lilypond-Version. Bei mir klappt es (Version 2.25.13)
Titel: Antw:\note klappt nicht
Beitrag von: Malte am Donnerstag, 18. April 2024, 17:01
Nicht nur vielleicht, das hat sich mit Version 2.22 geändert (https://lilypond.org/doc/v2.22/Documentation/changes-big-page.html):
ZitatThe \note markup command now takes as its first argument a duration instead of a string