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: Sávio Ramos
Subject: Re: Guitar right hand p-i-m-a
Date: Thu, 24 Sep 2015 08:19:58 -0300

Didn't rules:

Processing `/home/asd/Downloads/apo.ly'
Parsing.../usr/share/lilypond/2.18.2/scm/ly-syntax-constructors.scm:56:23:
In expression (apply (ly:music-function-extract fun) parser ...):
/usr/share/lilypond/2.18.2/scm/ly-syntax-constructors.scm:56:23: Wrong
number of arguments to #<procedure #f (fingnum)>


I am study the lessons of Rezar Domingues and he uses this symbols.


2015-09-24 1:43 GMT-03:00 Nick Payne <address@hidden>:
> 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
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user



-- 
Sávio M Ramos
Arquiteto, Rio, RJ
Só uso Linux desde 2000
www.debian.org



reply via email to

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