lilypond-user
[Top][All Lists]
Advanced

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

Re: Avoid double beaming


From: Xavier Scheuer
Subject: Re: Avoid double beaming
Date: Mon, 20 Feb 2023 11:13:29 +0100

On Mon, 20 Feb 2023 at 10:44, Jogchum Reitsma <j.reitsma@hccnet.nl> wrote:
>
> Hi,
>
> In below snippet, lilypond renders two beams for the two voices, and,
> because I want the stems to have the same direction,
> the result for the 8th-notes is that they seem to be 16th notes.
>
> Is there a way to avoid this, and to join the two beams to one?

Hello,

I would say this is a typical case for \partCombine.
See NR 1.5.2 Multiple voices > Automatic part combining

sopranoOne = \relative c'' {
  \key c \major
  \time 3/4
r8 a\p a4.( g8) |
\time 2/4
f g a a |
}

sopranoTwo = \relative c' {
  \key c \major
  \time 3/4
r8 f f4.( e8) |
d e f f
}

\score {
  \new Staff \with {
    instrumentName = "Sopraan"
    shortInstrumentName = "S."
    \dynamicUp
  } {
   \partCombine \sopranoOne \sopranoTwo
  }
  \layout {}
}

Cheers,
Xavier

--
Xavier Scheuer <x.scheuer@gmail.com>


reply via email to

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