[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Layout of a (piano) hand indicator
From: |
Mark Stephen Mrotek |
Subject: |
RE: Layout of a (piano) hand indicator |
Date: |
Mon, 30 Nov 2015 16:58:27 -0800 |
Simon,
Attached is a snippet for bracket and hand indication from my library. I
cannot remember from whom I got it, so I cannot properly ascribe.
Mark
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Simon Albrecht
Sent: Monday, November 30, 2015 3:29 PM
To: Urs Liska <address@hidden>; lilypond-user <address@hidden>
Subject: Re: Layout of a (piano) hand indicator
Hello Urs,
it's very handy that you just came up with this thread, since I'm needing
the very thing in a score I just do.
I wrote an event function to nicely wrap up your approach:
%%%%%%%%%%%
\version "2.19.32"
hook =
#(let ((direction? (lambda (n) (= 1 (abs n))))
(hook-markup #{ \markup \path #0.175 #'((moveto 0 0)
(rlineto -0.85 0)
(rlineto 0 3)) #}))
(define-event-function (direction on-line) (direction? boolean?)
(let* ((self-al (if on-line 0.6 0.31))
(self-al (if (= direction 1) (- self-al) self-al)))
#{
\tweak self-alignment-Y $self-al
\tweak extra-spacing-width #'(-.5 . 0)
\finger \markup \scale #(cons 1 direction) #hook-markup
#})))
\layout {
\context {
\Voice
fingeringOrientations = #'(left)
}
}
{
<c''-\hook #DOWN ##f> <d''-\hook #UP ##t> } %%%%%%%%%%
It's not quite elegant with its hard-coded values, but it's easy to use.
Thanks for the ideas,
Simon
On 24.11.2015 23:44, Urs Liska wrote:
>
> Am 24.11.2015 um 22:39 schrieb Simon Albrecht:
>> On 24.11.2015 18:49, Urs Liska wrote:
>>> Hi all,
>>>
>>> please consider the attached image, especially the "half-bracket" at
>>> the center. This is to indicate that this d' is to be played with
>>> the left hand.
>>>
>>> Is there anything I could improve to the proportions and placement
>>> of that sign?
>>>
>>> Any suggestions for improvement welcome. Suggestions for *not*
>>> improving it even more ;-)
>> I agree that it looks quite good, and that the vertical part should
>> be shorter. Also, the horizontal part could be longer in my eyes.
>> And I'd be very interested in how you did it :-)
>>
> I use a very simple \path. Originally I simply added it as a \markup
> and used extra-offset to position it. But thanks to Abraham's blog
> post I changed that to use a fingering indication. However, I'm not
> really sure this is more reliable (for example against transposition):
>
> So this is what it looks like now:
>
> \set fingeringOrientations = #'(left)
> <d'' \finger
> \markup {
> \path #0.175
> #'((moveto 0 -2)
> (rlineto 0 3)
> (rlineto 0.85 0)
> (moveto -1.5 2)) } > 8
>
> Urs
>
>> Yours, Simon
Hand indicators.docx
Description: application/vnd.openxmlformats-officedocument.wordprocessingml.document
- Re: Layout of a (piano) hand indicator, (continued)
- Re: Layout of a (piano) hand indicator, Thomas Morley, 2015/11/25
- Re: Layout of a (piano) hand indicator, David Kastrup, 2015/11/25
- Re: Layout of a (piano) hand indicator, David Kastrup, 2015/11/25
- Re: Layout of a (piano) hand indicator, Robin Bannister, 2015/11/25
- Re: Layout of a (piano) hand indicator, David Kastrup, 2015/11/25
- Re: Layout of a (piano) hand indicator, Robin Bannister, 2015/11/25
- Re: Layout of a (piano) hand indicator, David Kastrup, 2015/11/25
- Re: Layout of a (piano) hand indicator, Robin Bannister, 2015/11/25
- Re: Layout of a (piano) hand indicator, Thomas Morley, 2015/11/25
- Re: Layout of a (piano) hand indicator, Simon Albrecht, 2015/11/30
- RE: Layout of a (piano) hand indicator,
Mark Stephen Mrotek <=