lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guitar right hand p-i-m-a


From: Nick Payne
Subject: Re: Guitar right hand p-i-m-a
Date: Thu, 24 Sep 2015 14:43:22 +1000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 24/09/2015 09:28, Sávio Ramos wrote:
I did this:

\version "2.18.2"

tir = \rightHandFinger #1
apo = \tweak digit-names ##("P" "I" "M" "A" "X") \rightHandFinger #1

{ c'\tir f'\apo }


And produces only "P" or "p" (image attached).

How can I change #2, #3, etc...
Pass the finger number as a parameter:

\version "2.18.2"

tir = #(define-event-function (fingnum)
                (number?)
                #{
                  \rightHandFinger $fingnum
                #})

apo = #(define-event-function (fingnum)
                (number?)
                #{
                  \tweak digit-names ##("P" "I" "M" "A" "X")
                  \rightHandFinger $fingnum
                #})


{ c'\tir 1 f'\apo 2 }


But I've never seen upper case letters used to indicate stroke fingering, and there must be several hundred commercially engraved guitar scores in my collection. For lower case stroke fingering, the following is much simpler to enter and easier to read (you can't use lower case p or a, as p is a dynamic indication and a is a note name, so I use upper case for the shortcuts):

P=\rightHandFinger #1
I=\rightHandFinger #2
M=\rightHandFinger #3
A=\rightHandFinger #4

{ c'\P f'\I }


Nick Payne




reply via email to

[Prev in Thread] Current Thread [Next in Thread]