Discussion:
Collisions between phrasing slur and fingering, phrasing slur/slur
Urs Liska
2018-11-14 15:39:21 UTC
Permalink
\relative {
  \key a \major
  a''16 [ \( ( cis -3 ) e -1 ( a -4 ) \) ]
}

produces collisions between the fingerings and the phrasing slurs (as
attached image shows).

Checking with only the phrasing slur *or* the slurs present shows that
these both work properly.

%%%

\markup "Only phrasing slur"

\relative {
  \key a \major
  a''16 [ \( cis -3 e -1 a -4 \) ]
}

\markup "Only slurs"

\relative {
  \key a \major
  a''16 [ ( cis -3 ) e -1 ( a -4 ) ]
}

%%%

The fingerings in the first example are positioned exactly as in the
last one. So it looks like the placement is determined against the
slurs, and the phrasing slur then prints straight through them without
considering the fingerings.

Incidentally: I find it ugly that the end points of the phrasing slur
are the same as the outer slurs. Shouldn't that be avoided too?

Urs
Urs Liska
2018-11-14 15:59:04 UTC
Permalink
Post by Urs Liska
\relative {
  \key a \major
  a''16 [ \( ( cis -3 ) e -1 ( a -4 ) \) ]
}
produces collisions between the fingerings and the phrasing slurs (as
attached image shows).
Checking with only the phrasing slur *or* the slurs present shows that
these both work properly.
%%%
\markup "Only phrasing slur"
\relative {
  \key a \major
  a''16 [ \( cis -3 e -1 a -4 \) ]
}
\markup "Only slurs"
\relative {
  \key a \major
  a''16 [ ( cis -3 ) e -1 ( a -4 ) ]
}
%%%
The fingerings in the first example are positioned exactly as in the
last one. So it looks like the placement is determined against the
slurs, and the phrasing slur then prints straight through them without
considering the fingerings.
Incidentally: I find it ugly that the end points of the phrasing slur
are the same as the outer slurs. Shouldn't that be avoided too?
It doesn't even work correclty when the slurs are \omit-ted:

%%%

\relative{
  \key a \major
  \omit Slur
  cis'''16 -3 [ \( ( b -2 ) b ( a -1 ) \) a8 \strich ]
}

\relative{
  \key a \major
  cis'''16 -3 [ \( b -2 b a -1 \) a8 \strich ]
}
%%%

In the second example the phrasing slur correctly avoids the fingerings
while in the first one it prints right through them.

I thought this might happen when the starting points of slur and
phrasing slur coincide but the collision handling of the phrasing slur
seems disabled when there is a slur *at any time*:

%%%

\relative{
  \key a \major
  cis'''16 -3 [ \( b -2 ( b )a -1 \) a8 \strich ]
}

%%%

If it is true that collision handling freaks out when slurs and phrasing
slurs exist at the same time it would be explainable that the end points
of both fall into one.

Urs
David Kastrup
2018-11-14 16:35:35 UTC
Permalink
Post by Urs Liska
%%%
\relative{
  \key a \major
  \omit Slur
  cis'''16 -3 [ \( ( b -2 ) b ( a -1 ) \) a8 \strich ]
}
\relative{
  \key a \major
  cis'''16 -3 [ \( b -2 b a -1 \) a8 \strich ]
}
%%%
In the second example the phrasing slur correctly avoids the
fingerings while in the first one it prints right through them.
I thought this might happen when the starting points of slur and
phrasing slur coincide but the collision handling of the phrasing slur
%%%
\relative{
  \key a \major
  cis'''16 -3 [ \( b -2 ( b )a -1 \) a8 \strich ]
}
%%%
If it is true that collision handling freaks out when slurs and
phrasing slurs exist at the same time it would be explainable that the
end points of both fall into one.
Taking a look at the collision handling I freaked out. The way I read
the code, extra objects avoid at most exactly _one_ slur (including
phrasing slurs) which tends to be the first in the group of the last
encountered kind, basically the one entered into its grob object "slur"
at the time it is being typeset.

This is disturbing, yes.
--
David Kastrup
Loading...