[Top][All Lists]

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

get current bar number

From: Kevin Barry
Subject: get current bar number
Date: Fri, 23 Mar 2018 00:55:54 +0000

Hi All,

I would like to be able to get the current bar number context property so that I can do something with it (like printing it in markup for example).

I have tried the following scheme function:
(ly:context-property 'Score 'currentBarNumber)
but it errors out, telling me that Score is not a context. Do I need to get the context object somehow?

Any help appreciated.


reply via email to

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