Bric wrote
> So... this is all quite amazing and powerful.    But the interplay 
> between the multiplicity of notes, and the singularity of "\markup" is 
> something to finesse further.

So far we're just adding a markup before or after the whole string of music
we're passing to the music function.  To do something with each of the
various parts of that string of music (adding something or changing
something conditionally) is a taller order.

Here are a couple more snippets that show a way to do this using
"music-map". 

http://lsr.dsi.unimi.it/LSR/Snippet?id=538

http://lsr.dsi.unimi.it/LSR/Item?id=773  (especially the
"colorizeOutOfRange" part)

But these are both modifying properties rather than adding something new
like a markup.

You do realize that you are jumping right into deep water here?  :-)  Is
there something specific you're trying to accomplish?  There might be an
easier way to do it...

-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/modular-markup-and-arguments-tp153423p153505.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to