Re: [frogs] Could a frog spend 20 min to help cellist's thumb? |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: Xavier Scheuer <x.scheuer@xxxxxxxxx>
- Subject: Re: [frogs] Could a frog spend 20 min to help cellist's thumb?
- From: Neil Puttock <n.puttock@xxxxxxxxx>
- Date: Sat, 24 Apr 2010 13:06:56 +0100
- Cc: Carl Sorensen <c_sorensen@xxxxxxx>, Frédéric Bron <frederic.bron@xxxxxxx>, Lilypond Frogs List <frogs@xxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=uwPR4FvdVmjrV4vJe/yO0T8Mzpa/W4nVUl2TWP/gn6g=; b=Uat/ic5N0drw4cKsYpOphnfNxUlA/5CUrts8ucSR8Dr2HryuNw8oq4WyTGj+OeFvrx Y7/FA6ZsXsqm6RNiBf16jmuutNl/XJYAPvY7POsyAy5pZGOwk4J4C4akT/v0un2rohvZ m78RsYuAlssS9ZwxY5Afm1hpIKXQvfiXoBEag=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=S7/71IIwYkSH4PcfVU3mClj0ytMCCeGtD2Y4HQ+80aPL0bPeCIXzhNP3H8QKp3ZCXc GAp2/LK01h3fWkU65DYM2VpQ2L+LxDhWX6pq1fb4t0+0jkBDbwtkfhVaddws5G/oU6Ha wvPe4UJBT4qOfSp527sXP40btH6U/5Uqgdj1c=
2010/4/24 Xavier Scheuer <x.scheuer@xxxxxxxxx>:
> Instrumentally-speaking, it's not an articulation, it's a fingering.
Yes, but I was talking about how it's implemented in LilyPond.
> By the way I suppose it would be too difficult/unappropriated to make
> \thumb engraved by the Fingering_engraver , which, from a non-dev point
> of view, would seem more logical...
That's a nice idea (and easily implemented without touching the engraver):
thumb =
#(make-music 'FingeringEvent
'text (markup #:fontsize 5 #:musicglyph "scripts.thumb"))
\relative c' {
\override Fingering #'text =
#(lambda (grob)
(let ((finger-text (ly:event-property (event-cause grob) 'text)))
(if (markup? finger-text)
finger-text
(fingering::calc-text grob))))
c4\thumb
}
Cheers,
Neil
---
----
Join the Frogs!