|
From: | Paul Morris |
Subject: | Re: Discuss signature for new function \annotate (new version) |
Date: | Wed, 12 Jun 2013 08:10:50 -0700 (PDT) |
Urs Liska wrote > BTW: How can I read such properties in a Scheme function, i.e. determine > where we are in a piece when a function is executed? > I didn't find it in the manual ... > http://www.lilypond.org/doc/v2.17/Documentation/extending/object-properties > says that object properties are stored in alist-chains. > So I'm looking for an entry '(currentBarNumber . N) of the Score object. > But that doesn't help me unfortunately. > > How would I write if I want something like > > (define curNum Score.currentBarNumber) > ? Maybe this snippet will help show how to do this? http://lsr.dsi.unimi.it/LSR/Item?id=333 HTH, -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Discuss-signature-for-new-function-annotate-tp146759p147002.html Sent from the User mailing list archive at Nabble.com.
[Prev in Thread] | Current Thread | [Next in Thread] |