Re:A separate line for dynamics?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re:A separate line for dynamics?

ptoye
Re:A separate line for dynamics? Bruno,

I think what you're looking for is a \new Dynamics staff.

A Dynamics context is available to engrave dynamics on their own horizontal line. Use spacer
rests to indicate timing. (Notes in a Dynamics context will also take up musical time, but will
not be engraved.) The Dynamics context can usefully contain some other items such as text
scripts, text spanners, and piano pedal marks.

It's very well hidden. Try the Notation manual under "Dynamics". Page 123 in version 2.19.52.


Best regards,

Peter
[hidden email]
www.ptoye.com

-------------------------
Monday, September 17, 2018, 11:41:00 AM,
[hidden email] wrote:

> Send lilypond-user mailing list submissions to
>        
[hidden email]

> To subscribe or unsubscribe via the World Wide Web, visit
>        
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> or, via email, send a message with subject or body 'help' to
>        
[hidden email]

> You can reach the person managing the list at
>        
[hidden email]

> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lilypond-user digest..."


> Today's Topics:

>    1. A separate line for dynamics? (Bernhard Kleine)
>    2. Re:A separate line for dynamics? (Sam Bivens)
>    3. Re:Shape the angle of a broken hairpin's first part
>       (Thomas Morley)
>    4. Re:Shape the angle of a broken hairpin's first part (Urs Liska)
>    5. Re:Shape the angle of a broken hairpin's first part
>       (Thomas Morley)
>    6. Re:A separate line for dynamics? (Bernhard Kleine)


> ----------------------------------------------------------------------

> Message: 1
> Date: Mon, 17 Sep 2018 11:28:43 +0200
> From: Bernhard Kleine <
[hidden email]>
> To: lilypond-user <
[hidden email]>
> Subject: A separate line for dynamics?
> Message-ID:
> <
[hidden email]>
> Content-Type: text/plain; charset="utf-8"

> Hi,

> I remember vaguely that one can have a "staff" for the dynamics in an
> score, but I can not find it in the
> documentation of 2.19.82. Can you
> please point me to that.

> Thanks a lot!

> Bernhard


> --
> spitzhalde9
> D-79853 lenzkirch
[hidden email]
> www.b-kleine.com, www.urseetal.net
> -
> thunderbird mit enigmail
> GPG schl?ssel: D5257409
> fingerprint:
> 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09


> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 833 bytes
> Desc: OpenPGP digital signature
> URL:
> <
http://lists.gnu.org/archive/html/lilypond-user/attachments/20180917/8b802668/attachment.pgp>

> ------------------------------

> Message: 2
> Date: Mon, 17 Sep 2018 05:31:36 -0400
> From: Sam Bivens <
[hidden email]>
> To:
[hidden email]
> Subject: Re: A separate line for dynamics?
> Message-ID:
> <
[hidden email]>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"

> Hi Bernhard,

> Are you referring to centered dynamics within a piano score in the
> snippet repository?

> http://lsr.di.unimi.it/LSR/Item?id=357

> Take care,

> Sam


> On 09/17/2018 05:28 AM, Bernhard Kleine wrote:
>> Hi,

>> I remember vaguely that one can have a "staff" for the dynamics in an
>> score, but I can not find it in the documentation of 2.19.82. Can you
>> please point me to that.

>> Thanks a lot!

>> Bernhard




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

> --
> Sam Bivens, Ph.D.
> Music Theory Faculty
> Cleveland Institute of Music
> 11021 East Boulevard
> Cleveland, OH 44106
[hidden email]
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <
http://lists.gnu.org/archive/html/lilypond-user/attachments/20180917/ff1908aa/attachment.html>

> ------------------------------

> Message: 3
> Date: Mon, 17 Sep 2018 11:49:36 +0200
> From: Thomas Morley <
[hidden email]>
> To: Urs Liska <
[hidden email]>
> Cc: lilypond-user <
[hidden email]>
> Subject: Re: Shape the angle of a broken hairpin's first part
> Message-ID:
>        
> <
[hidden email]>
> Content-Type: text/plain; charset="UTF-8"

> 2018-09-17 8:43 GMT+02:00 Urs Liska
> <
[hidden email]>:
>> I have a broken hairpin whose first part is pretty short. As a consequence
>> its internal angle looks too wide for my taste (see attached PNG). I would
>> like to have the two lines wider apart with a narrower angle to more
>> adequately reflect the overall length of the hairpin, similar to the second
>> attached image from the corresponding music without line break.

>> I would only know about the "height" property of a hairpin, but that's not
>> what I need, and it doesn't help me towards tweaking the first part only ...

>> I'd be glad about any suggestions or solution.

>> Thanks
>> Urs

> Hi Urs,

> iiuc, you will need to tackle the stencil of the first part. Going
> directly for 'height doesn't work for me. Iirc there are some
> procedures setting the heights of broken hairpins, without the
> possibility to customize it.

> But you can set the desired 'height for the
> selected hairpin-part and
> call the default stencil afterwards . Leading to:

> {
>     \override Hairpin.stencil =
>     #(lambda (grob)
>       (let* ((orig (ly:grob-original grob))
>              (siblings (if (ly:grob? orig)
>                          
> (ly:spanner-broken-into orig) '() )))
>         (if (and (pair? siblings) (equal? grob (car siblings)))
>             (ly:grob-set-property! grob 'height 5))
>         ly:hairpin::print))
>     c'1\<
>     \break
>     s4
>     c'2.\!
> }
> The value 5 is ofcourse only for the show. Adjust as you wish.



> HTH,
>   Harm



> ------------------------------

> Message: 4
> Date: Mon, 17 Sep 2018 11:55:50 +0200
> From: Urs Liska <
[hidden email]>
> To: Thomas Morley <
[hidden email]>
> Cc: lilypond-user <
[hidden email]>
> Subject: Re: Shape the angle of a broken hairpin's first part
> Message-ID:
> <
[hidden email]>
> Content-Type: text/plain; charset=utf-8; format=flowed

> Hi Harm,

> thanks for this, which gives me a handle to the first part of the
> hairpin at least.

> But my problem is not solved with the 'height property.


> Am 17.09.2018 um 11:49 schrieb Thomas Morley:
>> 2018-09-17 8:43 GMT+02:00 Urs Liska <
[hidden email]>:
>>> I have a broken hairpin whose first part is pretty short. As a consequence
>>> its internal angle looks too wide for my taste (see attached PNG). I would
>>> like to have the two lines wider apart with a narrower angle to more
>>> adequately reflect the overall length of the hairpin, similar to the second
>>> attached image from the corresponding music without line break.

>>> I would only know about the "height" property of a hairpin, but that's not
>>> what I need, and it doesn't help me towards tweaking the first part only ...

>>> I'd be glad about any suggestions or solution.

>>> Thanks
>>> Urs
>> Hi Urs,

>> iiuc, you will need to tackle the stencil of the first part. Going
>> directly for 'height doesn't work for me. Iirc there are some
>> procedures setting the heights of broken hairpins, without the
>> possibility to customize it.

>> But you can set the desired 'height for the selected hairpin-part and
>> call the default stencil afterwards . Leading to:

>> {
>>      \override Hairpin.stencil =
>>      #(lambda (grob)
>>        (let* ((orig (ly:grob-original grob))
>>               (siblings (if (ly:grob? orig)
>>                             (ly:spanner-broken-into orig) '() )))
>>          (if (and (pair? siblings) (equal? grob (car siblings)))
>>              (ly:grob-set-property! grob 'height 5))
>>          ly:hairpin::print))
>>      c'1\<
>>      \break
>>      s4
>>      c'2.\!
>> }
>> The value 5 is ofcourse only for the show. Adjust as you wish.


> See my updated example (only the line with the
> start of the hairpin is
> changed):

> {
>  ??? \override Hairpin.stencil =
>  ??? #(lambda (grob)
>  ????? (let* ((orig (ly:grob-original grob))
>  ???????????? (siblings (if (ly:grob? orig)
>  ??????????????????????????
> (ly:spanner-broken-into orig) '() )))
>  ??????? (if (and (pair? siblings) (equal? grob (car siblings)))
>  ??????????? (ly:grob-set-property! grob 'height 5))
>  ??????? ly:hairpin::print))
>  ??? c'2.... c'32\>
>  ??? \break
>  ??? s4
>  ??? c'2.\!
> }

> Here you can see nicely how the angles of the first hairpin are too
> steep, it looks like the hairpin would be
> closed shortly after the
> barline. Is there any way to modify either the
> angle of that sibling's
> line or for example the "height" at the point
> where the hairpin is cut off?

> Thanks
> Urs




>> HTH,
>>    Harm




> ------------------------------

> Message: 5
> Date: Mon, 17 Sep 2018 12:05:41 +0200
> From: Thomas Morley <
[hidden email]>
> To: Urs Liska <
[hidden email]>
> Cc: lilypond-user <
[hidden email]>
> Subject: Re: Shape the angle of a broken hairpin's first part
> Message-ID:
>        
> <CABsfGyWRYVRzpJ9gZtL-NjvmbiU3=[hidden email]>
> Content-Type: text/plain; charset="UTF-8"

> 2018-09-17 11:55 GMT+02:00 Urs Liska
> <
[hidden email]>:
>> thanks for this, which gives me a handle to the first part of the hairpin at
>> least.

>> But my problem is not solved with the 'height property.
> [...]

>> See my updated example
> [...]

> I'll have a look in the evening, now I have to
> run for my regular job ...

> Cheers,
>   Harm



> ------------------------------

> Message: 6
> Date: Mon, 17 Sep 2018 12:40:41 +0200
> From: Bernhard Kleine <
[hidden email]>
> To:
[hidden email]
> Subject: Re: A separate line for dynamics?
> Message-ID:
> <
[hidden email]>
> Content-Type: text/plain; charset="utf-8"

> I found it.
> However without the -"legato" the \f is
> centered , with the -"legato" it
> is not. How to draw them on the same line?

> dynOrgel = {
> ? {
> ?? ??? s2\f s4-"legato"
> ? }
> }
> ...
> \new Dynamics = "dynOrgel" {? \dynOrgel }


> Am 17.09.2018 um 11:31 schrieb Sam Bivens:

>> Hi Bernhard,

>> Are you referring to centered dynamics within a piano score in the
>> snippet repository?

>> http://lsr.di.unimi.it/LSR/Item?id=357

>> Take care,

>> Sam


>> On 09/17/2018 05:28 AM, Bernhard Kleine wrote:
>>> Hi,

>>> I remember vaguely that one can have a "staff" for the dynamics in an
>>> score, but I can not find it in the documentation of 2.19.82. Can you
>>> please point me to that.

>>> Thanks a lot!

>>> Bernhard




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

>> --
>> Sam Bivens, Ph.D.
>> Music Theory Faculty
>> Cleveland Institute of Music
>> 11021 East Boulevard
>> Cleveland, OH 44106
[hidden email]


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

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