Re: Dynamic Line Spanner question

2019-09-10 Thread Craig Dabelstein
Thanks everyone. That's been a big help.

Craig


On Tue, 10 Sep 2019 at 22:34, Flaming Hakama by Elaine <
ela...@flaminghakama.com> wrote:

> -- Forwarded message --
>>
> From: Mark Knoop 
>> To: lilypond-user@gnu.org
>> Cc:
>> Bcc:
>> Date: Tue, 10 Sep 2019 08:06:40 +0100
>> Subject: Re: Dynamic Line Spanner question
>> At 01:35 on 10 Sep 2019, Craig Dabelstein wrote:
>> > Hi all,
>> >
>> > In the following MWE, how do I get the dashed line to finish before
>> > the barline instead of after it. I've had no success with
>> > \endSpanners.
>>
>> See Internals Reference 3.2.111 spanner-interface:
>>
>> to-barline (boolean)
>> If true, the spanner will stop at the bar line just before it would
>> otherwise stop.
>>
>> Thus:
>>
>> \version "2.19.82"
>> \score {
>>   \relative c' {
>> c2 -\tweak to-barline ##t \cresc c c c
>> R1*4 \!
>>   }
>> }
>>
>>
>> --
>> Mark Knoop
>>
>
> If you want the dotted line to end before, not at the barline,
> another approach is to make the last note look like the value you want,
> but scale it down, and add a spacer where you the line to end:
>
> \version "2.19.81"
> \score {
> \relative c' {
> R1 \break
>
> c2 \cresc c c c2*1/2 s4\!
> R1 \break
>
> c2 \cresc c c c2*3/4 s8\!
> R1 \break
>
> c2 \cresc c c c2*7/8 s16\!
> R1 \break
>
> c2 -\tweak to-barline ##t \cresc c c c
> R1\! \break
>
> c2 \cresc c c c
> R1\!
> }
> }
>
>
> HTH,
>
> Elaine Alt
> 415 . 341 .4954   "*Confusion is
> highly underrated*"
> ela...@flaminghakama.com
> Producer ~ Composer ~ Instrumentalist ~ Educator
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Dynamic Line Spanner question

2019-09-10 Thread Flaming Hakama by Elaine
>
> -- Forwarded message --
>
From: Mark Knoop 
> To: lilypond-user@gnu.org
> Cc:
> Bcc:
> Date: Tue, 10 Sep 2019 08:06:40 +0100
> Subject: Re: Dynamic Line Spanner question
> At 01:35 on 10 Sep 2019, Craig Dabelstein wrote:
> > Hi all,
> >
> > In the following MWE, how do I get the dashed line to finish before
> > the barline instead of after it. I've had no success with
> > \endSpanners.
>
> See Internals Reference 3.2.111 spanner-interface:
>
> to-barline (boolean)
> If true, the spanner will stop at the bar line just before it would
> otherwise stop.
>
> Thus:
>
> \version "2.19.82"
> \score {
>   \relative c' {
> c2 -\tweak to-barline ##t \cresc c c c
> R1*4 \!
>   }
> }
>
>
> --
> Mark Knoop
>

If you want the dotted line to end before, not at the barline,
another approach is to make the last note look like the value you want,
but scale it down, and add a spacer where you the line to end:

\version "2.19.81"
\score {
\relative c' {
R1 \break

c2 \cresc c c c2*1/2 s4\!
R1 \break

c2 \cresc c c c2*3/4 s8\!
R1 \break

c2 \cresc c c c2*7/8 s16\!
R1 \break

c2 -\tweak to-barline ##t \cresc c c c
R1\! \break

c2 \cresc c c c
R1\!
}
}


HTH,

Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Dynamic Line Spanner question

2019-09-10 Thread Mark Knoop
At 01:35 on 10 Sep 2019, Craig Dabelstein wrote:
> Hi all,
>
> In the following MWE, how do I get the dashed line to finish before
> the barline instead of after it. I've had no success with
> \endSpanners.

See Internals Reference 3.2.111 spanner-interface:

to-barline (boolean)
If true, the spanner will stop at the bar line just before it would otherwise 
stop.

Thus:

\version "2.19.82"
\score {
  \relative c' {
c2 -\tweak to-barline ##t \cresc c c c
R1*4 \!
  }
}


--
Mark Knoop

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Dynamic Line Spanner question

2019-09-09 Thread Craig Dabelstein
Hi all,

In the following MWE, how do I get the dashed line to finish before the
barline instead of after it. I've had no success with \endSpanners.

All the best,

Craig

\version "2.19.82"
\score {
  \relative c' {
c2 \cresc c c  c
R1*4 \!
  }
}


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com E:
cr...@concertbandmusicstore.com 




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user