On Jun 19, 2023, at 13:21, Jason Yip <sripedia_getp...@slmail.me> wrote:
>   \set minSubdivideInterval = #(ly:make-moment 1 8)
>   \set maxSubdivideInterval = #(ly:make-moment 1 16)

These values could be `\musicLength 8` and `\musicLength 16`.

Also, MR 2032 (merged hours ago) adds `musical-length?` and 
`positive-musical-length?` predicates that you might find useful to reduce the 
amount of validation where these properties are read.

https://gitlab.com/lilypond/lilypond/-/merge_requests/2032
— 
Dan


Reply via email to