lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Context question


From: John Schlomann
Subject: Context question
Date: Sun, 11 Sep 2022 16:01:06 -0500

Can someone please explain why the following won’t work. I want get the current moment at the end of the music _expression_. Is this not a valid thing to do? Or perhaps I don’t know how to specify the context. This code gives an unbound variable error.

 

\version "2.22.2"

 

\score {

  \relative c'' {

    \new Staff {

      a b c d

      #(display (ly:context-current-moment Staff))

    }

  }

}

 

Thank you for any help.

John

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]