]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/metronome-text.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / metronome-text.ly
1 \version "2.16.0"
2
3 \header{
4   texidoc="
5 The tempo command supports text markup and/@/or `duration=count'.  Using
6 @code{Score.tempoHideNote}, one can hide the `duration=count' in the tempo mark.
7 "
8 }
9
10 \relative c'' {
11   \tempo "Allegro" c1
12   \tempo "Allegro" c1
13   $(make-event-chord (list (make-music 'TempoChangeEvent
14                                         'text "blah")))
15   d1
16   \tempo \markup { \italic \medium "Allegro" } c1 \break
17   \tempo 4 = 120 c1
18   \tempo "Allegro" 4 = 120 c1
19   \tempo "Allegro" 4 = 120 c1
20   \tempo "Allegro" 4 = 110 c1
21   \tempo "Allegretto" 4 = 110 c1 \break
22
23   \set Score.tempoHideNote = ##f
24   \tempo "Allegro" 4 = 120 c1
25   \set Score.tempoHideNote = ##t
26   \tempo "No note" 8 = 160 c1
27   \tempo "Still not" c1
28   % No text and also no note => \null markup
29   \tempo 4 = 100 c1
30   \tempo "Allegro" 4 = 120 c1
31   \set Score.tempoHideNote = ##f
32   \tempo "With note" 8 = 80 c1 \break
33
34   % Unsetting the tempoText using only note=count:
35   \tempo 8 = 80 c1
36   \tempo "Allegro" 8 = 80 c1
37   \tempo 8 = 80 c1
38   
39   % Unsetting the count using only text
40   \tempo "no note (text-only)" c1
41 }