I am trying to display all the names that appear in a piece of music (NoteEvent etc.) using map-some-music. It the function musNam is only printing the top level name. What am I missing here?
%%%%%%%%%%%%%%%%%%% \version "2.18.2" #(define (name-of music) (display-scheme-music (ly:music-property music 'name))) musNam = #(define-music-function (parser location myx ) (ly:music?) (map-some-music (lambda (evt) (name-of evt )) myx) #{ #}) music = {c ~ c} \musNam #music %%%%%%%%%%%%%%%%%%%%%
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user