LEFT | RIGHT |
(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 } |
LEFT | RIGHT |