lilypond-user
[Top][All Lists]
Advanced

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

Re: cross staff melody


From: Mats Bengtsson
Subject: Re: cross staff melody
Date: Thu, 16 Nov 2006 10:10:40 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060909)

If you first try your example without the \change Staff ..., you will
notice that the same problem remains. What happens is that your
polyphony in the lower part,
<< { r8 f16 ( g ) f8 } \\ c2. >>
has the same duration as the longest of the two voices, i.e. as the c2.
Then, when you add more 16th notes after the << ... >>, they will
begin after the end of the c2. The solution is just to include all your
16th notes including staff changes within the << {...} \\ {...} >> construct:

lower = \relative c
{
   \clef bass
   \key b \major
   \time 6/8

   << { r8 f16 ( g ) f8 \change Staff = "upper"
       g'''16 ( f ) g, f \change Staff = "lower" g, f |}
      \\ c2. >>
}

  /Mats


Helge Kruse wrote:
Hello,

I have a voice in the lower staff, that is so high, that it should be noted
in the upper staff, but logically it belongs to "lower". I tried to edit
this with staff change, but the "upper" staff is already full and the six
16th notes are moved to the next measure.
How can I get these six 16th (gfgfgf) to the first measure? I would prefer
to keep the <es es>2. in the upper staff, but probably this is not possible?

Regards,
Helge

\version "2.7.39"
\include "deutsch.ly"

upper = \relative c'' {
        \clef treble
        \key b \major
        \time 6/8

        <es, es'>2. |
}

lower = \relative c
{
        \clef bass
        \key b \major
        \time 6/8

        << { r8 f16 ( g ) f8 } \\ c2. >>
        
        \change Staff = "upper"
g'''16 ( f ) g, f \change Staff = "lower" g, f |
}

\score {
        \context PianoStaff <<
           \set PianoStaff.instrument = "HARPE  "
           \context Staff = upper \upper
           \context Staff = lower \lower
        >>
        \layout { }
}




_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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