|
From: | Jean Abou Samra |
Subject: | Re: Tempo Mark with letter |
Date: | Sat, 04 Mar 2023 19:29:37 +0100 |
User-agent: | Evolution 3.46.4 (3.46.4-1.fc37) |
Le samedi 04 mars 2023 à 10:16 -0800, Ralph Palmer a écrit :
Greetings -
I'm running LilyPond 2.24.0 under Frescobaldi 3.2 and Ubuntu 22.04.2 LTS.
I'm trying to get a tempo indication similar to the included screenshot (I couldn't figure out how to include the screenshot as an attachment - sorry). My problem is the "c." I looked at the documentation and at the archives. I tried multiple ways, but either the 1/4 note comes out as the fraction 1/4 or LilyPond rejects the "c.". I also tried using a tilde ("~") instead of "=c.", but no joy. It's not a huge deal, but if someone could point me in the right direction, I would appreciate it.
\version "2.24.1"
\fixed c' {
\tempo \markup { Simple, flowing ( \hspace #-0.4 \rhythm {{4}} = c.76) }
\time 2/4
e4\mp( d8 e)
c8 c( d e)
}
The \tempo <text> <duration> = <bpm>
form doesn't support customizing the (note = bpm) part, but you can simply include it into the text as markup.
If you also need that tempo in MIDI output, you can use tags to have a \tempo 4 = 76
commands in MIDI and the \tempo \markup ...
command in graphical output.
Also, note that \rhythm
requires extra braces in 2.24 because its argument is only one note specified as a simple duration. This quirk has been lifted in 2.25.
HTH,
Jean
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |