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:36:43 +1000

Hello Again,

Part 2: If I put each part into a separate voice context, the ties are
in the right direction, but otherwise it's a real mess.

Thanks,
bruys

partOne = {
    \voiceOne
    \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
}
% voiceTwo not used
partTwo = {
   \voiceThree
   \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
}
% voiceFour not used
voiceFive = #(context-spec-music (make-voice-props-set 4) 'Voice)
partThree = {
   \voiceFive
   \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
}
voiceSix = #(context-spec-music (make-voice-props-set 5) 'Voice)
% voiceSix not used
voiceSeven = #(context-spec-music (make-voice-props-set 6) 'Voice)
partFour = {
   \voiceSeven
   \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
}
voiceEight = #(context-spec-music (make-voice-props-set 7) 'Voice)
% voiceEight not used
voiceNine = #(context-spec-music (make-voice-props-set 8) 'Voice)
partFive = {
   \voiceNine
   \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 2_.png
Description: PNG image


reply via email to

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