|
From: | Pierre Perol-Schneider |
Subject: | Re: Letters as Left hand fingering |
Date: | Wed, 16 May 2012 11:31:07 +0200 |
2012/5/15 Pierre Perol-Schneider <address@hidden>:
Hi Pierre,> Hi Group,
>
> Sometimes I need to put a letter in front of a number as a fingering.
> Is there any possibility to declare "m" (for ex;) as a number so that I
> could code <a-m1> as a fingering ?
I'm not aware of any method to do it with that easy syntax: <a-m1>
But you may want to try:
\version "2.15.36"
letter =
#(define-music-function (parser location l fingering)(string? ly:music?)
(let* ((music (make-music 'FingeringEvent))
(finger (ly:music-property fingering 'digit))
(n (number->string finger)))
#{
\tweak #'text #(markup #:concat (;#:fontsize 6
#:normal-text l n))-$music
#}))
\relative c' {
<a-\letter x -1
cis-\letter y -2
e-\letter z -3>
}
HTH,
Harm
[Prev in Thread] | Current Thread | [Next in Thread] |