Hi David, > On Apr 18, 2015, at 1:14 AM, Paul Morris <p...@paulwmorris.com> wrote: > > In the attached file is a start on a more automated way to do it. It uses a > custom note head engraver and custom rest engraver (written in Scheme) to > automatically alter the note head and rest stencils. By going further in this > direction it would be possible to also add the dots and lines (that indicate > octave and duration) to the note head stencil. This would automate those > parts as well.
I went ahead and worked some more on this. (It took me long enough to figure out how to do this stuff, so I might as well put it to use so others can benefit too.) See the attached file for another revision that implements these things: - dots indicating octaves - lines indicating note and rest durations - correctly determines Jianpu note number (c major key: c = 0, c minor key: c = 6, etc.) It works by incorporating these symbols into the note head stencil. This is just a quick sketch that can be improved and refined in terms of spacing and other details. Some things still to do are handling dotted notes (I haven’t been able to access the dots grob from note head grob, so this seems tricky) and Jianpu accidental signs (which will require their own engraver). HTH, -Paul
jianpu2.ly
Description: Binary data
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user