I'm trying to use a \repeatTie as the second part of a broken slur but I'm
having problems getting the shape correct.  I created a MWE but I realized
that it might not have enough context to see what I'm trying to do, so I
created a second, longer example too.  I've attached the output of the
second example.

The problem is when I try to move the end point of the \repeatTie to the
left, all that happens is that the note shys away from the key signature.
But maybe there's a better way to do what I want.

%%% Start
\version "2.24.4"

%% Below is the MWE.  The problem is the more I try to move the starting
%% point of the tie to the left (the two -1's in tieShapeA) the more the
%% d note in the second measure shys away from the key signature.

tieShapeA = \shape #'((-1 . 3) (-1 . 3.5) (0 . 3.5) (0.5 . 1.75)) \etc

\relative {
  \key d \major
  \clef bass
  \voiceTwo
  d4 fis( g a, | \break
  d4)-\tieShapeA \repeatTie
}

%% Below is what I'm trying to do: tie the slur in the right hand to the
%% bass note.  Is there a better way to do this?

slurShapeA = \shape #'((0 . 0) (0 . 0) (9 . 0) (9 . -2)) \etc

rightHand = \relative {
  \key d \major
  a'8-\slurShapeA ^( g fis e  d cis b a) |
  r4
}

leftHand = \relative {
  \key d \major
  \clef bass
  \voiceTwo
  d4 fis( g a, | \break
  d4)-\tieShapeA \repeatTie
}

\new PianoStaff <<
  \new Staff \rightHand
  \new Staff \leftHand
>>
%%% End


--
Knute Snortum

Reply via email to