lilypond-user
[Top][All Lists]
Advanced

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

Re: Voices and Edition Engraver


From: Jan-Peter Voigt
Subject: Re: Voices and Edition Engraver
Date: Sat, 12 Mar 2016 08:27:51 +0100
User-agent: K-9 Mail for Android

Hi Samuel,

I am aware of this issue and hope to find a solution, while rewriting the EE. Most times, I can address the Staff context to apply the tweak.
It seems, that the "start-timestep" slot is not called in some circumstances.

For now, best
Jan-Peter

Am 11. März 2016 21:48:27 MEZ, schrieb tyronicus <address@hidden>:
Fellow Ponders,

I'm trying to use the Edition Engraver for the first time. In the (smallish)
example below, see how in the current method that I use of splitting and
joining voices, the Ed.Engr. seems to be confused about when the voice
starts,
and thus, I'm unable to modify the slur in \voiceTwo.

I get the following error in the log:

warning: missing @ 1 #<Mom 0> Voice/B
warning: ---> \override NoteHead #'color = (0.0 0.0 1.0)
warning: ---> \override Slur #'color = (1.0 0.0 0.0)

Any tips on how I could do this? Do I need to change the way I handle
Voices?

%%%%%%%%%%%%%%%%%%%%%%

\version "2.19.37"

twoVoices = #(define-music-function (one two)(ly:music? ly:music?)
#{ << { \voiceOne $one } \new Voice { \voiceTwo $two } >> \oneVoice #})

tenN = \relative c' { \key b \minor \clef "G_8"
\twoVoices { b2.( cis4) } { fis,2( g4 b) }
4 <fis b>2
}

\include "editorial-tools/edition-engraver/definitions.ily"

\layout {
\context { \Voice
\consists \editionEngraver ##f
}
}

\score {
\new Voice \tenN
}

\addEdition octavo
\editionMod octavo 1 0/4 Voice.A \override Slur.color = #green
\editionMod octavo 1 0/4 Voice.B \override NoteHead.color = #blue
\editionMod octavo 1 0/4 Voice.B \override Slur.color = #red

<http://lilypond.1069038.n5.nabble.com/file/n188450/slur-ex.png>




--
View this message in context: http://lilypond.1069038.n5.nabble.com/Voices-and-Edition-Engraver-tp188450.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

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
reply via email to

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