[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Letters as Left hand fingering
From: |
Thomas Morley |
Subject: |
Re: Letters as Left hand fingering |
Date: |
Wed, 16 May 2012 01:00:37 +0200 |
2012/5/15 Pierre Perol-Schneider <address@hidden>:
> 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 ?
Hi Pierre,
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
- Letters as Left hand fingering, Pierre Perol-Schneider, 2012/05/15
- Re: Letters as Left hand fingering,
Thomas Morley <=
- Re: Letters as Left hand fingering, Nick Payne, 2012/05/16
- Re: Letters as Left hand fingering, David Kastrup, 2012/05/16
- Re: Letters as Left hand fingering, Pierre Perol-Schneider, 2012/05/16
- Re: Letters as Left hand fingering, Nick Payne, 2012/05/16
- Re: Letters as Left hand fingering, David Kastrup, 2012/05/17
- Re: Letters as Left hand fingering, Pierre Perol-Schneider, 2012/05/21
- Re: Letters as Left hand fingering, Pierre Perol-Schneider, 2012/05/16
Re: Letters as Left hand fingering, Pierre Perol-Schneider, 2012/05/16
Re: Letters as Left hand fingering, David Kastrup, 2012/05/16