Simon Albrecht <simon.albre...@mail.de> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user