Aaron Hill <lilyp...@hillvisions.com> writes:

> On 2020-06-26 6:13 am, Lukas-Fabian Moser wrote:
>> Is it possible to access this "current duration" from a music or
>> scheme function?
>
> Looks to be stored in Lily_parser::default_duration_ which, while
> public in the C++ interface, does not appear to be exposed to Scheme
> as far as I can tell.

Well, it's more a bug like anything else I guess, but

(ly:music-property #{ q #} 'duration)

at the current point of time would appear to do the trick.

-- 
David Kastrup

Reply via email to