[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Voices and Edition Engraver
From: |
tyronicus |
Subject: |
Voices and Edition Engraver |
Date: |
Fri, 11 Mar 2016 13:48:27 -0700 (MST) |
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.
- Voices and Edition Engraver,
tyronicus <=
- Re: Voices and Edition Engraver, Kieren MacMillan, 2016/03/11
- Re: Voices and Edition Engraver, Urs Liska, 2016/03/11
- Re: Voices and Edition Engraver, tyronicus, 2016/03/11
- Re: Voices and Edition Engraver, Graham King, 2016/03/11
- Re: Voices and Edition Engraver, Jan-Peter Voigt, 2016/03/12
- Re: Voices and Edition Engraver, Jan-Peter Voigt, 2016/03/12
- Re: Voices and Edition Engraver, Graham King, 2016/03/12
Re: Voices and Edition Engraver, Jan-Peter Voigt, 2016/03/12