lilypond-user
[Top][All Lists]
Advanced

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

[newbie]Acciaccatura and tie under the phrasing slur


From: bipll
Subject: [newbie]Acciaccatura and tie under the phrasing slur
Date: Sun, 18 Apr 2010 06:05:18 -0700 (PDT)

Greetings, everybody. I'm trying to (n00b-)typeset klavier part of Pastorale
from Schnittke's Suite in Old Style. In printed version, the first two lines
of right hand-part look like this:
http://old.nabble.com/file/p28282130/twolines.png 
After looking through the manual I came to an idea of partcombining the two
voices, duplicating the notes in both in bars where only one voice is
printed. So I wrote the following code:

=============================================================
\version "2.12.2"

upper = {
  \mark "Moderato"
  \clef treble
  \key c \major
  \time 6/8
  <<
    \partcombine \relative c''
    {
      \partial 8
      g8\(      c8. d16 e8 d e c      b8.\prall a16 g8~ g4\) g8\(      e'8.
f16 g8 f g e      \acciaccatura e8 d4.~ d4\) g8\(      \stemUp e4 g8 f4 f8
      d8. e16 f8 e4 c8      e8. d16 c8 c d b      c4.~ c4\) g8\(      e4 g8
f4 f8      d8. e16 f8 e4 c8      e8. d16 c8 c d b      c2.\)

    }
    \relative c'' {
      \partial 8
      g8      c8. d16 e8 d e c      b8.\prall a16 g8~ g4 g8      c8. d16 e8
d e c      b4.~ b4 g'8
      c,2.      b      a4. g      g4.~ g4 g8      c,2.      b      a4. g     
g2.    
    }
  >>
}

lower = {
  \clef bass
  \key c \major
  \time 6/8
  <<
    \partcombine \relative c' {
      \partial 8
      r8      e4. c      d~ d4 r8      g4. c,      d~ d4 r8      g8. f16 e8
f4 f8      f8. e16 d8 e4 e8
      c8. d16 e8 f8. e16 c8      e4.~ e4 r8      g,8. f16 e8 f4.      f8.
e16 d8 e4.      c8. d16 e8 f8. e16 d8      e2.
    }
    \relative c' {
      \partial 8
      r8      c4. e,      g~ g4 r8      c4. e,      g~ g4 r8      b4. a     
a g
      f g      c~ c4 r8      b,4. a      a g      f g      c2.
    }

  >>
}
\score {
  \new PianoStaff \with { printPartCombineTexts = ##f } <<
    \new Staff = "upper" \upper
    \new Staff = "lower" \lower
  >>
  \layout {
    \context {
      \RemoveEmptyStaffContext
    }
  }

  \midi {}
}
=============================================================
which results in
http://old.nabble.com/file/p28282130/threelines.png 
So, I see the following issues:
1) lilypond doesn't seem to note  end of the second phrasing slur (bars
3-5). Trying to use simply a slur instead resulted in an error, of course,
as the slur from acciaccatura becomes nested. I tried to move the end of the
ph. sl. "\)"-sign, and the most notabe changes were that the curve ended in
the previous bar, and the third ph. sl. didn't start, i. e. was totally
ignored;
2) the slur from acciaccatura in bar 5 connects it to the g from the lower
voice, even though the grace note and the b are in the same voice  (and I
wanted them to be connected, as in original printing). Didn't get no idea
how to fix it.
Could anyone help?
-- 
View this message in context: 
http://old.nabble.com/-newbie-Acciaccatura-and-tie-under-the-phrasing-slur-tp28282130p28282130.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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