lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: Fw: Re[2]: coloring voices vs systemStartDelimiterHierarchy


From: Thomas Schuch
Subject: Re[2]: Fw: Re[2]: coloring voices vs systemStartDelimiterHierarchy
Date: Wed, 10 Jun 2015 12:48:29 +0000
User-agent: eM_Client/6.0.22344.0

So, i tried to figure out all problems I have with this function at the moment. I'd like to have general Score informations (as TimeSignature, Key, Clefs at the beginning of a line etc.) remain with the standard color (-> black) and all informations regarding a specific Voice (NoteHeads, Stems, Beams, LederLines, Articulations, Dynamics, clef Changes etc.) colored in a custom color. 1. The colored music expression is interrupted by <<{}\\{}>>, so you have to repeat \colorMusic very often (especially in polyphonic music (and especially with "Bach") there are often short areas with added voices, which are rather "extensions" to the main voice than a proper separated voice)

Is there any way "\colorMusic #red {c <<{c} \\ {c}>> c}" works for the entire area?

2. Clefs
If i want to color some music at the beginning of a system, the Clef at the SystemStart gets colored, too.

3. Beams
If the colored area stops in the middle of a beam, the second part of the beam gets colored, while the NoteHeads and Stems remain black as intended. I know, that every Beam is one single object, but is there a possibility to divide such a beam and color only the first part?

4. LedgerLines
I find it strange, that the LedgerLines remain colored...
They should be depend on the color of the NoteHead and if there are more Notes simultaneously (for example <a'' f'''>), the LedgerLines should change their color bottom-up after each NoteHead.



Thank you all very much for your help!
musicus


Nick Payne-3 wrote
If I save the ly file and try to build it (Windows, Lilypond 2.19.21) it causes lilypond to terminate with the error below. I also loaded it into
 Frescobaldi and got the attached Mingw error msgbox:
 [...]

Strange... I'm on Win7 64bit, Frescobaldi & Lilypond 2.19.18 and everything
works fine.

If I comment out the \startStaff and \stopStaff commands (only in the
colorMusic function, not in any ossia voices)...

          \colorGrobs #grob-names #my-color ##t
          %\temporary \override LedgerLineSpanner.color = #my-color
          %\temporary \override Staff.Clef.color = #my-color
          #music
          %\stopStaff
          \colorGrobs #grob-names #my-color ##f
          %\revert LedgerLineSpanner.color
          %\revert Staff.Clef.color
          %\startStaff

...nothing changes (or am I blind?) except for the missing brace that
reappears:
with_stopStaff.pdf
<http://lilypond.1069038.n5.nabble.com/file/n177662/with_stopStaff.pdf>
without_stopStaff.pdf
<http://lilypond.1069038.n5.nabble.com/file/n177662/without_stopStaff.pdf>

Hmmm... no idea :(

Viele Grüße,
Klaus



--
View this message in context: http://lilypond.1069038.n5.nabble.com/Fw-Re-2-coloring-voices-vs-systemStartDelimiterHierarchy-tp177656p177662.html
Sent from the User mailing list archive at Nabble.com.

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

Attachment: coloring function problems.ly
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]