[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guitar right hand p-i-m-a
From: |
David Kastrup |
Subject: |
Re: Guitar right hand p-i-m-a |
Date: |
Thu, 24 Sep 2015 07:36:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Nick Payne <address@hidden> writes:
> 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)
tir = #(define-event-function (parser location fingnum)
> (number?)
> #{
> \rightHandFinger $fingnum
> #})
>
> apo = #(define-event-function (fingnum)
apo = #(define-event-function (parser location fingnum)
> (number?)
> #{
> \tweak digit-names ##("P" "I" "M" "A" "X")
> \rightHandFinger $fingnum
> #})
>
>
> { c'\tir 1 f'\apo 2 }
Some changes are addictive. parser/location went away only in 2.19.22.
--
David Kastrup