On Wed, Jul 15, 2015 at 12:28 PM, Malte Meyn-3 [via Lilypond] <
ml-node+s1069038n178689...@n5.nabble.com> wrote:

> ...
>
My first thought was “I need a music function that accesses
> currentBarNumber” but that (and, for the more advanced version,
> measureLength) is a context property. Now I don’t know how to get the
> context to this music function and making it return a (make-music
> 'MultiMeasureRestMusic …). Attached is my first attempt but that returns
> only (make-music 'ApplyContext …).
>
> Is this the correct approach? Or do I have to write an engraver? If so,
> where can I learn how to do that?
>

+1!

I would love to know how to do this, too!

- Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/music-function-with-access-to-context-properties-like-currentBarNumber-tp178689p178691.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to