On Thu, Apr 27, 2017 at 5:43 PM, nycgdf <nyc...@gmail.com> wrote: > I don't know how to for-each on a music object. > >
There are a number of useful functions: musicMap (defined in ly/music-functions-init.ly); for-some-music, map-some-music, fold-some-music (in scm/music-functions.scm). Maybe you can get use out of one of these, either directly or as inspiration. The lists should have a few examples of at least one or two of these. Hope this helps a little. David _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel