Re: Guitar right hand p-i-m-a
> You've seen my correction? No. I searched in spam but threre isn't too... 2015-09-24 9:05 GMT-03:00 David Kastrup: > Sávio Ramos writes: > >> 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 # > > You've seen my correction? > > -- > David Kastrup -- Sávio M Ramos Arquiteto, Rio, RJ Só uso Linux desde 2000 www.debian.org ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar right hand p-i-m-a
Sávio Ramoswrites: >> You've seen my correction? > > No. > > I searched in spam but threre isn't too... http://lists.gnu.org/archive/html/lilypond-user/2015-09/msg00683.html -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar right hand p-i-m-a
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 # I am study the lessons of Rezar Domingues and he uses this symbols. 2015-09-24 1:43 GMT-03:00 Nick Payne: > 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 > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user -- Sávio M Ramos Arquiteto, Rio, RJ Só uso Linux desde 2000 www.debian.org ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar right hand p-i-m-a
Sávio Ramoswrites: > 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 # You've seen my correction? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar right hand p-i-m-a
Sávio Ramoswrites: > Hi, > > I want to use the comand > > \rightHandFinger # > > in two ways: > > 1) the normal way p-i-m-a > 2) onother way (caps lock) P-I-M-A > > With this, I can make diference between "tirando stroke" than "apoyando > stroke" If you have a rather recent version, you can write the following: \version "2.19.25" tir = \rightHandFinger \etc apo = \tweak digit-names ##("P" "I" "M" "A" "X") \rightHandFinger \etc { c'\tir2 f' \apo4 } If it's less recent, it's a few lines more. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar right hand p-i-m-a
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 lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar right hand p-i-m-a
Nick Paynewrites: > 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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user