lilypond-user
[Top][All Lists]
Advanced

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

Repeat ties within chords


From: Peter Toye
Subject: Repeat ties within chords
Date: Wed, 30 Oct 2019 12:54:02 +0000

I'm trying to engrave some music where there is an alternative repeat end, and a single note within a chord is tied over. The tie works for the 1st alternative, but not for the 2nd. But adding \repeatTie in the alternative produces ties for all notes in the chord, and not just the tied one.

Any ideas on how to get just the tied note showing a repeat

Here's a minimal criminal. The first and second parts tie to the first alternative but not to the second. The third (putting \repeatTie outside the chord) adds ties to all the notes (and the tie to the G is a bit short).

Any ideas as to how to get a single tie to the G in the 2nd alternative?

\version "2.19.52"

\language "english"

{
  \relative c'
  {
    \repeat volta 2 {
      <c e g~>1
    }
    \alternative {
      {
        <d f g>
      }
      {
        <d f g>
      }
    }
 
    \repeat volta 2 {
      <c e g~>1
    }
    \alternative {
      {
        <d f g>
      }
      {
        <d f g\repeatTie>
      }
    }
    \repeat volta 2 {
      <c e g~>1
    }
    \alternative {
      {
        <d f g>
      }
      {
        <d f g>\repeatTie
      }
    }
  }
}

 
Regards,

Peter
mailto:address@hidden
www.ptoye.com
reply via email to

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