|
From: | David Nalesnik |
Subject: | Re: automatic fingering annotation |
Date: | Tue, 14 Oct 2014 16:54:45 -0500 |
thanks a lot david, i learned a lot from studying this!
looks like there would be two options to get lilypond to report pitch info:
\void \displayLilyMusic % types absolute pitches to console
\include "event-listener.ly" % writes file w/midi numbersbut your example inspired me to figure it out in scheme, see attached. i would think auto-fingering-diagrams would be of general interest -- is it worth submitting either to the snippet library or the core scm library?
some questions:- how could i pass an argument to the engraver (like 'recorder, to tell it what diagrams to use)?
- i can't find doc on make-engraver -- are there any?
- this method ignored the layout overrides i need (that worked on manually entered markups):TextScript.staff-paddingTextScript.self-alignment-Xhow do i get them back?
- i like your 'display-fingering property, but i removed it for simplicity while trying to learn, i'll add it back...i also found http://www.lilypond.org/doc/v2.17/Documentation/learning/advanced-tweaks-with-scheme, which seems like it should also work and is simpler than defining a new engraver.
however, i can't figure out how to find the right object/property to give a note/column a markup. NoteHead.text doesn't do anything. where do i look this up?
[Prev in Thread] | Current Thread | [Next in Thread] |