|
From: | Jean Abou Samra |
Subject: | Re: display tuplet ratio in \rhythm markup |
Date: | Fri, 17 Mar 2023 12:04:51 +0100 |
User-agent: | Evolution 3.46.4 (3.46.4-1.fc37) |
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/8
c'16 16 16 16
\tempo \markup { \rhythm {\tuplet 5/7 {8}} = \rhythm {8}}
\time 2/4
c'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
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |