]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/part-combine-chord-range.ly
Issue 5167/1: Reorganize markup commands to use object properties
[lilypond.git] / input / regression / part-combine-chord-range.ly
index 146b31c7e0f836ebb5959194527e6f874d431876..3683ba0f19c05acfee3cbcda9d3fa342849e7627 100644 (file)
@@ -1,27 +1,23 @@
 \header {
-  texidoc ="The part combiner has an internal option to set the range
-of intervals that may be combined into chords."
+  texidoc ="The part combiner has an option to set the range of
+differences in steps between parts that may be combined into chords."
 }
 
-\version "2.19.16"
+\version "2.19.21"
 
 \layout { ragged-right = ##t }
 
-vone = \relative e' {
-  d4 e f fisis | g geses b' bisis | b2 beses
+vone = \relative {
+  d'4 e f fisis | g geses b' bisis | b2 beses
 }
 
-vtwo = \relative e' {
-  e4 e e e | e eisis d deses | c2 cisis
+vtwo = \relative {
+  e'4 e e e | e eisis d deses | c2 cisis
 }
 
-customcombine =
-#(define-music-function (parser location part1 part2) (ly:music? ly:music?)
-   (make-part-combine-music parser (list part1 part2) #f '(2 . 12)))
-
 comm = { s1_"apart" s1_"chords" s1_"apart" }
 
 \new Staff <<
-  \customcombine \vone \vtwo
+  \partcombine #'(2 . 12) \vone \vtwo
   \comm
 >>