On 12/05/2024 09:46, Timothy Lanfear wrote:
On 11/05/2024 18:42, Steph Phillips wrote:
%%%%%%%%%%%%%%%%%%%%
Pretty happy with how that looks, but now I'm having trouble
converting it to a function. The following is what I've put together,
but I can't seem to shake the compiler error.
The parameters feather-ratio, tuplet-ratio are not moments, but
ratios. Also, the parser and location arguments have not been required
for several releases of LilyPond. Here is a working version of your
function.
Looking again at the documentation, feather-ratio can be expressed as a
moment -- the predicate to match this type is ly:moment? (not moment?).
Tuplet-ratio must be a rational number, expressed as a pair.
--
Timothy Lanfear, Bristol, UK.