Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(836)

Unified Diff: input/regression/metronome-mark-note-size.ly

Issue 327620043: make metronomeMarkFormatter more flexible
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « input/regression/metronome-mark-formatter-extended.ly ('k') | lily/metronome-engraver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: input/regression/metronome-mark-note-size.ly
diff --git a/input/regression/metronome-mark-note-size.ly b/input/regression/metronome-mark-note-size.ly
new file mode 100644
index 0000000000000000000000000000000000000000..78d1bbea904f2cd00e1c7d5bd0daf628c6398044
--- /dev/null
+++ b/input/regression/metronome-mark-note-size.ly
@@ -0,0 +1,22 @@
+\version "2.21.0"
+
+\header {
+ texidoc = "The note in a metronome mark can be scaled using the
+context property @code{tempoNoteSize}."
+}
+
+music = {
+ \tempo "Allegro" 4 = 120
+ R1
+}
+
+{
+ \markLengthOn
+ \set Score.tempoNoteSize = 0
+ \music
+ % default value is -1
+ \unset Score.tempoNoteSize
+ \music
+ \set Score.tempoNoteSize = -5
+ \music
+}
« no previous file with comments | « input/regression/metronome-mark-formatter-extended.ly ('k') | lily/metronome-engraver.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b