|
From: | Peter Bjuhr |
Subject: | Function for note string to fraction? |
Date: | Thu, 15 May 2014 15:17:17 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
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 |
[Prev in Thread] | Current Thread | [Next in Thread] |