lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make metronomeMarkFormatter more flexible (issue 327620043 by addres


From: lilypond
Subject: Re: make metronomeMarkFormatter more flexible (issue 327620043 by address@hidden)
Date: Thu, 12 Oct 2017 01:04:49 -0700

On 2017/10/12 07:23:51, dak wrote:
Should we provide markup functions for
the various elements?  Then you can just
\tempo \markup ...
your own mark together.

That solution would need only one new thing: A markup command \rhythm
that works as extended \note and takes not one but several durations,
ties, tuplets, and beams. And maybe one could make the alignment of
\note/\rhythm so that you don’t need \general-align?

And I really would like to have the tempoShowParentheses context
property because it’s really common to see tempo both with and without
parentheses and IMHO it’s weird to have to write
    \set Score.tempoHideNote = ##t
    \tempo \markup \concat { "Allegro " \note { 4 } " = 120" } 4 = 120
only because you don’t want parentheses.

Maybe it would be nice to have markup commands for the symbols ≈ and ≙
(the latter for something like 𝅘𝅥 ≙ 𝅗𝅥 if you don’t like = here), one
would have to discuss which symbols are really needed.

In that case: how do we do the Midi version?  We could
just rely on
\hide \tempo 4. = 60
or similar for that for now.

That’s what we have tempoHideNote for, isn’t it?

Not particularly pretty but workable.  But then we
would need to support simultaneous tempo events as long as they don't
produce
competing visuals or speeds (separate issue, we don't need to include
this here
but it would mean that we can focus on the markup and not worry about
the Midi).

There is one case I really would like more than the \markup based
solution for: tempo equivalences like 𝅘𝅥 = 𝅗𝅥. And because that also
sometimes requires markup fine tuning by the user one could make another
command that acts like \tempo but takes a duration instead of a number
or range:

\tempo "Allegro" 4 = 120
R1
\tempoEquiv "L’istesso tempo" 2 = 4
R
\set Score.tempoHideNote = ##t
\tempo \markup \concat { "Allegro rubato (" \note { 4 } " ≈ 120)" 4 =
120
R
\tempoEquiv \markup \concat { "Le double plus lent, " \note { 16 } " = "
\note { 8 } " précédente" } 16 = 8
R

That would output
    Allegro (𝅘𝅥 = 120)
    L’istesso tempo (𝅗𝅥 = 𝅘𝅥)
    Allegro rubato (𝅘𝅥 ≈ 120)
120 𝅘𝅥𝅯 = 𝅘𝅥𝅮 précédente

That

https://codereview.appspot.com/327620043/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]