lilypond-user
[Top][All Lists]
Advanced

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

Re: Can a music function see an active DynamicLineSpanner?


From: David Kastrup
Subject: Re: Can a music function see an active DynamicLineSpanner?
Date: Tue, 29 Sep 2015 09:29:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Simon Albrecht <address@hidden> writes:

> Hello,
>
> is it possible to know within a music function whether a
> DynamicLineSpanner is currently playing in the particular voice?

No.  A music function is only an input transformation.  But it could
produce a \applyContext call for checking the current state in a
context.  However, I don't think that "DynamicLineSpanner is currently
playing" leaves a recognizable trace in the context properties (I may be
mistaken), so you probably need an engraver as well for doing the
tracking.

-- 
David Kastrup



reply via email to

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