Le 05/06/2022 à 15:28, Kevin Cole a écrit :
What did I miss THIS time?
%%%%%%%%%%
\version "2.22.1"
\language "english"
global = {
\time 4/4
\key d \major
}
soprano = \relative c'' {
\global
\clef treble
b2( cs2) | % 19
<<
\voiceOne { d2 e2 } % Stem UP
\new Voice
\voiceTwo { b4 a4 b4 cs8[( b8]) } % Why isn't this Stem DOWN ???
>>
\oneVoice | % 20
d2 cs2 | % 21
\bar "|."
}
\score {
\new Staff = "soprano" \soprano
\layout { \autoBeamOff }
}
%%%%%%%%%%
\new Voice \voiceTwo { ... } is equivalent to
\new Voice { \voiceTwo } % One expression
{ ... } % A second expression
Namely, the \voiceTwo stands on its own. It is not a command
taking an argument. You just put it in a music expression
as something that modifies what's after it. Thus the correct
syntax is
\new Voice { \voiceTwo ... }
Jean