Re: [frogs] Could a frog spend 20 min to help cellist's thumb?

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


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!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/