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: Kevin Cole
Subject: Re: Why isn't VoiceTwo flipping the stems down?
Date: Sun, 5 Jun 2022 10:10:19 -0400

On Sun, Jun 5, 2022 at 9:32 AM Jean Abou Samra <jean@abou-samra.fr> wrote:

> 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

Ah! I've apparently just been "lucky" before, which is why I hadn't
picked up on that detail: All of my previous encounters either
involved the same notes with one voice tied and beamed while the other
was untied and unbeamed, or the notes of voiceTwo were far enough
below voiceOne as to have the stems flip naturally (or at least that's
my current understanding / working theory).

Thanks!



reply via email to

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