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

Delta Between Two Patch Sets: input/regression/completion-heads-factor.ly

Issue 14268043: Issue 3560: Completion_heads_engraver with \scaleDurations
Left Patch Set: Created 11 years, 6 months ago
Right Patch Set: Combining with other regtest proposals is left as an exercise to the reader... Created 11 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | input/regression/completion-rest.ly » ('j') | lily/completion-note-heads-engraver.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 \version "2.16.0" 1 \version "2.17.28"
2 2
3 \header{ 3 \header {
4 texidoc=" 4 texidoc="
5 5 If the @code{Note_heads_engraver} is replaced by the
6 If the @code{Note_heads_engraver} is replaced by the @code{Completion_heads_engr aver}, 6 @code{Completion_heads_engraver}, notes with a duration factor will be
7 notes with a duration factor still keep their requested appearance. 7 split into notes with the same factor, allowing for consistent use of
8 8 @code{\\scaleDurations} for matching meters.
9 " 9 "
10 } 10 }
11 11
12 \layout { ragged-right= ##t } 12 SplitThem =
13 \with {
14 \remove "Note_heads_engraver"
15 \consists "Completion_heads_engraver"
16 \remove "Rest_engraver"
17 \consists "Completion_rest_engraver"
18 }
13 19
20 tup =
21 #(define-music-function (parser location m) (ly:music?)
22 #{
23 \tag old $m
24 \tag new \tuplet 3/2 $m
25 #})
14 26
15 \new Voice \with { 27 untup =
16 \remove "Note_heads_engraver" 28 #(define-music-function (parser location m) (ly:music?)
17 \consists "Completion_heads_engraver" 29 #{
18 } \relative c'{ 30 \tag old \shiftDurations 0 1 $m
31 \tag new $m
32 #})
19 33
20 c\breve | 34 melody =
21 c1*2 | 35 {
22 c2*4 | 36 \tup { c'1 e' g' }
23 c8*20 37 \tup { g'\breve a' g' }
38 \untup g'\longa
24 } 39 }
40
41 \score {
42 <<
43 \new MensuralStaff
44 {
45 \clef "alto"
46 \time 3/2
47 \keepWithTag old \melody
48 \bar "|."
49 }
50 \new Staff \with { timeSignatureFraction = 2/2
51 \override BarLine.transparent = ##t }
52 {
53 \new Voice
54 {
55 \scaleDurations 3/1
56 \shiftDurations 1 0
57 \keepWithTag new \melody
58 }
59 \revert Staff.BarLine.transparent
60 }
61 \new Staff \with { timeSignatureFraction = 2/2 }
62 {
63 \new Voice \SplitThem
64 {
65 \scaleDurations 3/1
66 \shiftDurations 1 0
67 \keepWithTag new \melody
68 }
69 }
70 >>
71 }
LEFTRIGHT

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