lilypond-user
[Top][All Lists]
Advanced

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

Dividing ties and adjusting ties in an arpeggiated chord


From: bruys .
Subject: Dividing ties and adjusting ties in an arpeggiated chord
Date: Sat, 9 Apr 2011 15:31:31 +1000

Hello again,

I'm sorry to have to make further enquiries, but I'm flailing around here.

It seems that I need to divide the arpeggiated chord into separate
parts, so I can apply tweaks to each part separately.

Sorry about the length of the following code. It is for only one
arpeggiated chord, and I haven't been able to apply the tweaks yet.

When I put all the parts in the one voice context, I can get the notes
to line up, hooray. But, Lilypond ignores my explicit request to
direct the tie on the note d (d'') up (/tieUp), even though a major
collision results.

Part 2 to follow!

Thanks,
bruys


\version "2.12.3"

partOne = {

   \set tieWaitForNote = ##t % for arpeggiated ties
   \once \override Beam #'positions = #'(5.0 . 5.0) % raise beam to avoid
                                                    % collision with top tie
   \grace {
      \tieUp d''16[~ s16 s16 s16 s16]
   }
   \once \override Stem #'length = #'6.0 % lengthen stem to match height of
                                       % grace notes - don't know why this
                                       % needs to be 6.0 instead of 5.0
   \stemUp
   d''4
}

partTwo = {

  \set tieWaitForNote = ##t % for arpeggiated ties
  \once \override Beam #'positions = #'(5.0 . 5.0)
  \grace {
     s16[ \tieUp fis''16~ s16 s16 s16]
  }
  \once \override Stem #'length = #'6.0
  \stemUp
  fis''4
}

partThree = {

  \set tieWaitForNote = ##t % for arpeggiated ties
  \once \override Beam #'positions = #'(5.0 . 5.0) % raise beam to avoid
                                                   % collision with top tie
  \grace {
     s16[ s16 \tieUp b'16~ s16 s16]
  }
  \once \override Stem #'length = #'6.0 % lengthen stem to match height of
                                       % grace notes - don't know why this
                                       % needs to be 6.0 instead of 5.0
  \stemUp
  b'4
}

partFour = {

  \set tieWaitForNote = ##t % for arpeggiated ties
  \once \override Beam #'positions = #'(5.0 . 5.0) % raise beam to avoid
                                                   % collision with top tie
  \grace {
     s16[ s16 s16 \tieDown d'16~ s16]
  }
  \once \override Stem #'length = #'6.0 % lengthen stem to match height of
                                       % grace notes - don't know why this
                                       % needs to be 6.0 instead of 5.0
  \stemUp
  d'4
}

partFive = {
  \set tieWaitForNote = ##t % for arpeggiated ties
  \once \override Beam #'positions = #'(5.0 . 5.0) % raise beam to avoid
                                                   % collision with top tie
  \grace {
    s16[ s16 s16 s16 \tieDown gis'16~]
  }
  \once \override Stem #'length = #'6.0 % lengthen stem to match height of
                                       % grace notes - don't know why this
                                       % needs to be 6.0 instead of 5.0
  \stemUp
  gis'4
}

ignore = \override NoteColumn #'ignore-collision = ##t
revertIgnore = \override NoteColumn #'ignore-collision = ##f

\score {
  {  \ignore
     <<
     \partOne
     \partTwo
     \partThree
     \partFour
     \partFive
     >>
     \revertIgnore
     \tieNeutral
  }
}

Attachment: Arpeggiated Chord Example 3_.png
Description: PNG image


reply via email to

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