Compiling the attached file yields errors of the sort

> programming error: asked to compute volume at +1.000000 for dynamic span of 
> duration 1.000000 starting at 1
> continuing, cross fingers

If I replace the construct

    << { \voiceOne
        a1 |
    } \new Voice { \voiceTwo
        a,1 |
    } >> \oneVoice |

with

    << {a1} \\ {a,1} >>

this error goes away.

Can someone please explain what I’m doing wrong here?

—Joel C. Salomon
\version "2.19"
\language "english"

dynamics = {
	s8\p	s8*7	|
	s1*2
	\bar "|."
}

lower = \relative c {
	\clef bass

	b'1	|

<< { \voiceOne
	a1			|
} \new Voice { \voiceTwo
	a,1			|
} >> \oneVoice			|

	d1	|
}

\score {
	\new PianoStaff
	<<
% 		\new Staff = "upper" \upper
		\new Dynamics = "dynamics" \dynamics
		\new Staff = "lower" \lower
	>>
	\layout {}
}

\score {
	\new PianoStaff
	<<
% 		\new Staff = "upper" << \upper \dynamics >>
		\new Staff = "lower" << \lower \dynamics >>
	>>
	\midi {}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to