Hi all,

is there already a function that converts a string "4." to the fraction '3/8', or the other-way round?

Maybe it's helpful to know that the string is intended for use with \note, e g

\note #"4." #UP

and the fraction is intended for use with \set Timing.baseMoment, e g

\set Timing.baseMoment = #(ly:make-moment 3/8)

Best
Peter
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to