Sorry, certainly more straight-forward way would be just to use (filter
(music-type-predicate 'note-event) to filter out the note-events only:
(let* ((elts (filter (music-type-predicate 'note-event)
(ly:music-property mus-expr 'elements)))
[…]
auto-ottava2.ly
<http://lilypond.1069038.n5.nabble.com/file/t3887/auto-ottava2.ly>
All the best,
Torsten
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user