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

Unified Diff: input/regression/multi-measure-rest-measure-length.ly

Issue 333340043: issue 3208: MMRs for > 1 m. only count m.
Patch Set: move round-up-to-longer-rest to calc_closest_duration_log and improve regtest Created 6 years, 3 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 | « no previous file | lily/multi-measure-rest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: input/regression/multi-measure-rest-measure-length.ly
diff --git a/input/regression/multi-measure-rest-measure-length.ly b/input/regression/multi-measure-rest-measure-length.ly
new file mode 100644
index 0000000000000000000000000000000000000000..8605ef6bf923b5a2e320b9a65ec88adc12736f77
--- /dev/null
+++ b/input/regression/multi-measure-rest-measure-length.ly
@@ -0,0 +1,28 @@
+\version "2.21.0"
+
+\header {
+ texidoc = "
+Compressed multi measure rests use whole/breve/longa/maxima rests for groups of
+1/2/4/8 measures; they look the same for any measure length/time signature.
+
+round-up-to-longer-rest has no effect on compressed rests. They respect
+usable-duration-logs but don’t use rests shorter than whole because
+measure-count is an integer.
+"
+}
+
+{
+ \compressFullBarRests
+ \override MultiMeasureRest.expand-limit = 15
+ \time 1/4 R4 R4 *2 R4 *15
+ \time 3/1 R\breve. R\breve.*2 R\breve.*15
+ \time 4/1 R\longa R\longa *2 R\longa *15
+
+ \override MultiMeasureRest.round-up-to-longer-rest = ##t
+ \time 3/1 R\breve. R\breve.*3
+ \revert MultiMeasureRest.round-up-to-longer-rest
+
+ \override MultiMeasureRest.usable-duration-logs = #'(0 1 2)
+ \time 2/1 R\breve R\breve*2
+ \time 1/4 R4 R4*2
+}
« no previous file with comments | « no previous file | lily/multi-measure-rest.cc » ('j') | no next file with comments »

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