tweaking the dash pattern of one slur out of simultaneous slurs

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

tweaking the dash pattern of one slur out of simultaneous slurs

Kieren MacMillan
Hello all,

In the snippet below, I have a single voice with two slurs. I want the lower one to be dashed. I can’t seem to find the proper incantation; three (of many) ways that I’ve tried are included in the snippet.

Any guidance would be appreciated!
Kieren.

%%%%  SNIPPET BEGINS
\version "2.19.80"

{
   c''1 \=1( -\slurDashPattern #0.5 #2.0 \=2_(
   c'' \=1) \=2)
}

{
   c''1 \=1( \slurDashPattern #0.5 #2.0 \=2_(
   c'' \=1) \=2)
}

{
   c''1 \=1( -\tweak dash-fraction #0.5 \=2_(
   c'' \=1) \=2)
}
%%%%  SNIPPET ENDS

________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: [hidden email]


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: tweaking the dash pattern of one slur out of simultaneous slurs

David Kastrup
Kieren MacMillan <[hidden email]> writes:

> Hello all,
>
> In the snippet below, I have a single voice with two slurs. I want the
> lower one to be dashed. I can’t seem to find the proper incantation;
> three (of many) ways that I’ve tried are included in the snippet.
>
> Any guidance would be appreciated!
> Kieren.
>
> %%%%  SNIPPET BEGINS
> \version "2.19.80"
>
> {
>    c''1 \=1( -\slurDashPattern #0.5 #2.0 \=2_(
>    c'' \=1) \=2)
> }
>
> {
>    c''1 \=1( \slurDashPattern #0.5 #2.0 \=2_(
>    c'' \=1) \=2)
> }
>
> {
>    c''1 \=1( -\tweak dash-fraction #0.5 \=2_(
>    c'' \=1) \=2)
> }
\slurDashPattern creates an override but you want a tweak.  so


%%%%  SNIPPET BEGINS
\version "2.19.80"

{
   c''1 \=1( -\single\slurDashPattern #0.5 #2.0 \=2_(
   c'' \=1) \=2)
}

%%%%  SNIPPET ENDS



--
David Kastrup

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: tweaking the dash pattern of one slur out of simultaneous slurs

Kieren MacMillan
Hi David,

> \slurDashPattern creates an override but you want a tweak.  so
>
> %%%%  SNIPPET BEGINS
> \version "2.19.80"
>
> {
>   c''1 \=1( -\single\slurDashPattern #0.5 #2.0 \=2_(
>   c'' \=1) \=2)
> }
>
> %%%%  SNIPPET ENDS

Yep. Thanks. (I thought I tried that, but clearly not.)

Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: [hidden email]


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user