lilypond-user
[Top][All Lists]
Advanced

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

Re: slur between voices ... without clashing note columns


From: Trevor Baca
Subject: Re: slur between voices ... without clashing note columns
Date: Tue, 23 Aug 2005 21:20:35 -0500

On 8/23/05, Erik Sandberg <address@hidden> wrote:
> On Tuesday 23 August 2005 14.38, Trevor Baca wrote:
> > The snippet here correctly renders a slur between voices ... but,
> > unfortunately generates clashing note column warnings in the process.
> >
> > Does anyone see a way to get the same result but without the clashing
> > note columns?
> 
> In this particular example, you could do the first and second half of the bar
> as differen voices, something like:
> 
> <<
> \context Staff=up {
>   <<
>     \new Voice { b16[ fis e \change Staff=down g,]( g,8) }
>     \new Voice { s2                                 b16[ fis e \change
> Staff=down g,]( g,8) } }
>   >>}
> >>
> 
> This also reflects the music content better IMHO.

Yeah, I like that solution.

Here's a cut-and-paste-able version:


%%%%%%%%%%% REVISED SNIPPET %%%%%%%%%%

version "2.7.7"

\layout {
   raggedright = ##t
}

\score {
   \new PianoStaff <<
      \context Staff = RH {
         \clef treble
         \key g \major
         \time 2/4
         <<
         \new Voice {
            \stemDown
            <b' d''>16[
            fis'16
            e'16
            \change Staff = LH
            \stemUp
            <g b>16](
            g,8)
         }
         \new Voice {
            s4
            \stemDown
            <a' d''>16[
            fis'16
            d'16
            \change Staff = LH
            \stemUp
            <fis a>16](
            |
            g,8)
         }
         >>
         s4.
      }
      \context Staff = LH {
         \clef bass
         \key g \major
         \time 2/4
         g,8
         s4.
         |
         s2
      }
   >>
}

%%%%%%%%%%%%% REVISED SNIPPET %%%%%%%%%


Trevor Bača
address@hidden

reply via email to

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