lilypond-user
[Top][All Lists]
Advanced

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

Re: Why isn't VoiceTwo flipping the stems down?


From: Jean Abou Samra
Subject: Re: Why isn't VoiceTwo flipping the stems down?
Date: Sun, 5 Jun 2022 15:32:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1



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




reply via email to

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