Simon Albrecht <[email protected]> writes: >> You can just add >> >> makeOctaves = >> #(define-music-function (parser location oct mus) (integer? ly:music?) >> (make-relative (mus) mus >> #{ << \transpose c' $(ly:make-pitch oct 0 0) $mus $mus >> #})) > Excellent! This seems to be just as powerful as LSR 445 while being > far less complicated… or do I overlook something?
It will differ in its treatments of accents etc (one would probably want to filter them from one of the music copies). The real work here is actually in the make-relative macro available as of 2.18.0. -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
