]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/property-init.ly
Release: bump Welcome versions.
[lilypond.git] / ly / property-init.ly
index 4a11fcf4d716c818ae3c519a65fcd7c837d3ba19..85adb52bb08b5b3314cecfed4d249097a2de86f2 100644 (file)
@@ -405,6 +405,21 @@ palmMute =
    (_i "Print @var{note} with a triangle-shaped note head.")
    (style-note-heads 'NoteHead 'do note))
 
+%% part combiner
+
+partcombineForce =
+#(define-music-function (type) ((symbol?))
+   (_i "Override the part-combiner.")
+   (if type (propertySet 'partCombineForced type)
+       (propertyUnset 'partCombineForced)))
+
+partcombineApart = \partcombineForce #'apart
+partcombineChords = \partcombineForce #'chords
+partcombineUnisono = \partcombineForce #'unisono
+partcombineSoloI = \partcombineForce #'solo1
+partcombineSoloII = \partcombineForce #'solo2
+partcombineAutomatic = \partcombineForce \default
+
 
 %% phrasing slurs