|
From: | damianlegassick |
Subject: | Re: display tuplet ratio in \rhythm markup |
Date: | Fri, 17 Mar 2023 11:37:44 -0000 |
On 17 Mar 2023, at 11:05, Jean Abou Samra <jean@abou-samra.fr> wrote:Le vendredi 17 mars 2023 à 10:43 +0000, damianlegassick a écrit :
Hi all
in the following, is there any way to have the metric modulation markup via \rhythm show the ratio '5:7' instead of just '5'? I've tried \override TupletNumber.text = #tuplet-number::calc-fraction-text in various places but no joy.
thanks, D
\version "2.25.2"{\time 7/8\tuplet 5/7 {c'8 8 8 8 8}\time 2/8c'16 16 16 16\tempo \markup { \rhythm {\tuplet 5/7 {8}} = \rhythm {8}}\time 2/4c'8 8 8 8}Not sure what places you tried... This works for me:
\version "2.25.2" { \time 7/8 \tuplet 5/7 {c'8 8 8 8 8} \time 2/8 c'16 16 16 16 \tempo \markup { \rhythm { \override TupletNumber.text = #tuplet-number::calc-fraction-text \tuplet 5/7 {8} } = \rhythm {8} } \time 2/4 c'8 8 8 8 }
<signature.asc>
[Prev in Thread] | Current Thread | [Next in Thread] |