lilypond-user
[Top][All Lists]
Advanced

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

Re: Tempo mark


From: Mats Bengtsson
Subject: Re: Tempo mark
Date: Mon, 10 May 2004 11:00:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113



Thomas Scharkowski wrote:
Search the mailing list archives of lilypond-user for
"tempo markup" to find some examples of typesetting the
metronomization as part of a text markup.



Sorry, I did not find an example.

The first hit includes the following example:
^\markup { Allegretto \tiny \note #"4" #0.7 = 80 }

If you go through some more emails in the search results, you will
find more examples of including notes in a markup, such as
http://mail.gnu.org/archive/html/lilypond-user/2004-01/msg00264.html
and hints to look at the documentation of Text Markup.

To change the position of the metronome mark, you have to find out
what kind layout object in LilyPond is used to typeset it. To do that,
you could start from the manual section on Metronome marks:
http://lilypond.org/doc/v2.2/Documentation/user/out-www/lilypond/Metronome-marks.html#Metronome%20marks
and follow the links
MetronomeChangeEvent -> Metronome_mark_engraver -> MetronomeMark
which gives the name of the layout object "MetronomeMark" and
a list of the properties that are set by default. To see more
properties that can be set, you have to follow the links to the
different interfaces.
To conclude, you could raise a tempo indication by
\override MetronomeMark #'padding = #2.0
for example.

Sorry, my fault! The problem is that \override MetronomeMark ... sets
the property within the scope of the current context, in this case
in the Staff context. Since the MetronomeMark is typeset within the
Score context, you have to explicitly specify also the context level
where the setting should apply:

\override Score.MetronomeMark #'padding = #4.0

   /Mats





reply via email to

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