lilypond-user
[Top][All Lists]
Advanced

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

Re: Discuss signature for new function \annotate (new version)


From: Urs Liska
Subject: Re: Discuss signature for new function \annotate (new version)
Date: Wed, 12 Jun 2013 17:18:58 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

On 06/12/2013 05:10 PM, Paul Morris wrote:
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
Looks promising, but I'm too tired to digest that right now ...
Thanks

Urs
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.

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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