Eby Mani <eby...@yahoo.com> writes: > I'm getting the following error on Lilypond 2.18.2 while trying your > "\altChord" function. Are those functions limited to Lilypond 2.19 ?. > > "Parsing.../opt/lilypond/usr/share/lilypond/current/scm/ly-syntax-constructors.scm:56:23: > In expression (apply (ly:music-function-extract fun) parser ...): > /opt/lilypond/usr/share/lilypond/current/scm/ly-syntax-constructors.scm:56:23: > Wrong number of arguments to #<procedure #f (m1 m2)>" > > Eby
altChords = #(define-music-function (m1 m2)(ly:music? ly:music?) has to be altChords = #(define-music-function (parser location m1 m2)(ly:music? ly:music?) in 2.18 instead. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user