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